pico
created pr with
69.1
added 69.2
1: 827f272 = 1: 827f272 feat(storage): base storage fn
2: e63282c = 2: e63282c feat(prose): use storage base for prose
3: 2a52510 = 3: 2a52510 refactor(prose): use fs adapter for images
-: ------- > 4: 6ddc654 refactor: proxy headers for images
cmds
checkout latest patchset:
ssh pr.pico.sh print 69 | git am -3checkout any patchset in a patch request:
ssh pr.pico.sh print 69.[rev] | git am -3add changes to patch request:
git format-patch main --stdout | ssh pr.pico.sh pr add 69
Patchset
69.2
refactor: proxy headers for images
Eric Bower
2025-06-08T15:26:36ZSemantic diff summary
0 added,
6 modified,
4 signature changed,
0 removed
across 6 analyzed files
+1
-1
pkg/apps/prose/api.go
#
| ... | ... | @@ -897,7 +897,7 @@ func imgRequest(w http.ResponseWriter, r *http.Request) { | |
| 897 | 897 | } | |
| 898 | 898 | ||
| 899 | 899 | fmt.Println("HERERERERER", fname, opts) | |
| 900 | - | contents, info, err := st.ServeObject(bucket, fname, opts) | |
| 900 | + | contents, info, err := st.ServeObject(r, bucket, fname, opts) | |
| 901 | 901 | if err != nil { | |
| 902 | 902 | logger.Error("serve object", "err", err) | |
| 903 | 903 | http.Error(w, err.Error(), http.StatusUnprocessableEntity) |