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
| ... | ... | @@ -989,7 +989,7 @@ func imgRequest(w http.ResponseWriter, r *http.Request) { | |
| 989 | 989 | http.Error(w, err.Error(), http.StatusUnprocessableEntity) | |
| 990 | 990 | return | |
| 991 | 991 | } | |
| 992 | - | fp := filepath.Join(bucket.Path, fname) | |
| 992 | + | fp := filepath.Join(bucket.Name, fname) | |
| 993 | 993 | imgproxy := storage.NewImgProxy(fp, opts) | |
| 994 | 994 | imgproxy.ServeHTTP(w, r) | |
| 995 | 995 | } |