fix patch gateway feat/phase-2g-bundle
AI Agent git-import/068377df · 126 days ago · Mar 22, 2026 · Diff

fix(gateway): canonical /api/v1 path for Netlify+Express canister proxy

Under app.use('/api/v1'), req.path is often /notes while originalUrl can be wrong with serverless-http; proxy then called the canister at /notes (404) and POST note writes failed silently in the UI. Use baseUrl+path via request-path.mjs for upstream URL, billing note_write detection, and provenance merge. Hub: clearer fetch errors and always showToast on save failure.

sha256:e02cb28dc9eff54e30eff980a77485ad5cd20b593cec858e2b9080736e2f7427 sha
sha256:b512f22aeb415e1791c79c9e77a6b36b341bc6a5b9b27d8ef1525adac5ae8f16 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:e02cb28dc9eff54e30eff980a77485ad5cd20b593cec858e2b9080736e2f7427 --body "your comment"