gabriel / musehub public
fix BREAKING main #6 / 33
AI Agent gabriel · 34 days ago · May 10, 2026 · Diff

fix: rewrite presigned URL hostnames via R2_PUBLIC_ENDPOINT

BlobBackend embeds its endpoint_url into every presigned URL via boto3. In local dev that is http://minio:9000 (Docker-internal) which is unreachable from the host. _rewrite_presign_url() replaces the internal endpoint with R2_PUBLIC_ENDPOINT when set, applied to presign_put and presign_batch. docker-compose.override sets R2_PUBLIC_ENDPOINT and R2_PUBLIC_ENDPOINT=http://localhost:9000 for local dev.

sha256:bba0cbfe5297dcff248ddc92ed451e63b3239e4e8ace4f904567e7caee1e05ce sha
sha256:4fb27d4b00763a650e8889e911defb4def5030547cfbff8d8b3bed533afd8b2d snapshot

0 comments

No comments yet. Be the first to start the discussion.

To add a comment, use the Muse CLI: muse hub commit comment sha256:bba0cbfe5297dcff248ddc92ed451e63b3239e4e8ace4f904567e7caee1e05ce --body "your comment"