Fix broken images: proxy ActiveStorage through Rails instead of redirecting to internal MinIO URL #41
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Type
Bug
Lineage
Standalone bug fix — no parent plan or phase.
Repo
ldraney/landscaping-assistant
What Broke
Images uploaded via the Photos tab show as broken in the browser. ActiveStorage's default
redirectmode sends a 302 tominio.minio.svc.cluster.local:9000, which is a cluster-internal address the browser can't resolve.Repro Steps
/uploads/:id)Expected Behavior
Images display correctly on both the index (thumbnails) and show (full-size) pages.
Environment
Production — pal-e k8s cluster, MinIO in
minionamespace, app inlandscaping-assistantnamespace.Acceptance Criteria
Related