WIP: image processing is back and working

This commit is contained in:
2025-09-21 22:07:56 +01:00
parent 013447fa90
commit 1fb9616aa7
11 changed files with 54 additions and 31 deletions

View File

@@ -60,7 +60,7 @@ func (h *ImageHandler) serveImage(w http.ResponseWriter, r *http.Request) {
}
// Do not leak that this ID exists.
if !exists || *image.UserID != userID {
if !exists || image.UserID != userID {
w.WriteHeader(http.StatusNotFound)
return
}