Skip to content

Fix mounted API paths#12

Merged
MaxGhenis merged 1 commit into
mainfrom
fix-mounted-api-paths
May 10, 2026
Merged

Fix mounted API paths#12
MaxGhenis merged 1 commit into
mainfrom
fix-mounted-api-paths

Conversation

@MaxGhenis
Copy link
Copy Markdown
Contributor

Summary

  • Prefix Cliff Watch API requests with NEXT_PUBLIC_BASE_PATH so mounted deployments call /us/cliff-watch/api/....

Root cause

The multizone base path PR configured Next routing, but client API fetches still used root /api/... URLs.

Verification

  • git diff --check
  • npm run build
  • Live probe: /us/cliff-watch/api/metadata returns 200; /api/metadata returns 404.

@vercel
Copy link
Copy Markdown

vercel Bot commented May 10, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
cliff-watch Ready Ready Preview, Comment May 10, 2026 1:18pm

Request Review

@MaxGhenis MaxGhenis merged commit b937d62 into main May 10, 2026
3 checks passed
@MaxGhenis MaxGhenis deleted the fix-mounted-api-paths branch May 10, 2026 13:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant