fix patch netlify feat/phase-2g-bundle
AI Agent git-import/068377df · 129 days ago · Mar 19, 2026 · Diff

fix(netlify): preserve path to gateway function for /api/v1/* canister proxy

- Add :splat to gateway redirect in scripts/netlify-redirects.mjs and netlify.toml so requests like /api/v1/notes reach the function with the full path (fixes Hub list + create returning canister NOT_FOUND). - Strip /.netlify/functions/gateway prefix in hub/gateway/server.mjs so Express matches /api/v1 routes after Netlify internal rewrite. - Document requirement in docs/DEPLOY-HOSTED.md.

sha256:0eb3d277f8432c5726bb0623bc75531bddfd660e44e3fce705e3e0d69bf5c6fd sha
sha256:e3ebdcfbcae3be040eb8e05d709213d3f767901e73eb14cfeca390afd4dbc5f1 snapshot
← Older Oldest on feat/phase-2g-bundle
All commits
Newer → Latest on feat/phase-2g-bundle

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:0eb3d277f8432c5726bb0623bc75531bddfd660e44e3fce705e3e0d69bf5c6fd --body "your comment"