fix(env): NEXT_PUBLIC_API_URL -> live origin (api.0pt.app is dead) (#23)
Deploy to Coolify / deploy (push) Failing after 2s
Security Scan (SIAX Cloud) / security (push) Successful in 18s
CI (SIAX Cloud) / security (push) Successful in 21s
CI (SIAX Cloud) / quality (push) Successful in 51s

Co-authored-by: sax3l <simon@siax.io>
Co-committed-by: sax3l <simon@siax.io>
This commit is contained in:
2026-08-27 04:36:39 +00:00
committed by admin
parent 77e5137c9a
commit 00a1b3997d
+4 -1
View File
@@ -24,7 +24,10 @@
# Public base URL of this app (used for absolute links / callbacks).
NEXT_PUBLIC_APP_URL=http://localhost:3000
# Documented target (docs/08); no call site found reading it in this pass.
NEXT_PUBLIC_API_URL=https://api.0pt.app
# NOTE: api.0pt.app is a dead hostname (falls through to wildcard Vercel ->
# DEPLOYMENT_NOT_FOUND). The app serves its own /api routes on the site
# origin, so the honest base URL is the live origin itself.
NEXT_PUBLIC_API_URL=https://0pt.app
# ---------------------------------------------------------------------------
# Database (Postgres) -- wired in code today: lib/db.ts, app/api/health