Skip to content

fix(ci): inject NEXT_PUBLIC_API_BASE into Vercel deploys#13

Merged
doublesilver merged 1 commit into
devfrom
fix/vercel-api-base
Feb 28, 2026
Merged

fix(ci): inject NEXT_PUBLIC_API_BASE into Vercel deploys#13
doublesilver merged 1 commit into
devfrom
fix/vercel-api-base

Conversation

@doublesilver
Copy link
Copy Markdown
Owner

Frontend called localhost:8000 in prod. Now injects Railway API URL via -e flag.

Frontend was calling localhost:8000 in production because
NEXT_PUBLIC_API_BASE was not set at build time. Pass it via
vercel deploy -e flag from GitHub Secrets.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel Bot commented Feb 28, 2026

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

Project Deployment Actions Updated (UTC)
knowledge-copilot Building Building Preview, Comment Feb 28, 2026 2:49am

@doublesilver doublesilver merged commit f145e47 into dev Feb 28, 2026
5 checks passed
@doublesilver doublesilver deleted the fix/vercel-api-base branch February 28, 2026 02:50
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