Commit 6ca6617
Eric Bower
·
2026-07-26 13:41:31 -0400 EDT
parent 23f63d0
fix(prose): use correct filepath for prose images
1 files changed,
+1,
-1
+1,
-1
1@@ -989,7 +989,7 @@ func imgRequest(w http.ResponseWriter, r *http.Request) {
2 http.Error(w, err.Error(), http.StatusUnprocessableEntity)
3 return
4 }
5- fp := filepath.Join(bucket.Path, fname)
6+ fp := filepath.Join(bucket.Name, fname)
7 imgproxy := storage.NewImgProxy(fp, opts)
8 imgproxy.ServeHTTP(w, r)
9 }