Skip to content

Fix production domain during frontend build#5

Merged
dgknttr merged 1 commit into
mainfrom
codex/fix-production-build-domain
Apr 28, 2026
Merged

Fix production domain during frontend build#5
dgknttr merged 1 commit into
mainfrom
codex/fix-production-build-domain

Conversation

@dgknttr
Copy link
Copy Markdown
Owner

@dgknttr dgknttr commented Apr 28, 2026

Summary

  • Attach the image build job to the production environment so NEXT_PUBLIC_API_URL can read vars.DOMAIN
  • Fail the build early if DOMAIN is missing instead of publishing a broken frontend bundle

Why

The v0.1.1 frontend bundle was built with an empty API base, causing Safari to request https://api/hooks instead of https://hooktray.com/api/hooks.

@dgknttr dgknttr merged commit 673f456 into main Apr 28, 2026
2 checks passed
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