refactor(env): update NEXT_PUBLIC_API_URL to use 'auto' for better flexibility

This commit is contained in:
Abhimanyu Saharan
2026-03-03 02:40:28 +05:30
parent 2031f8dcd8
commit 0fe61e3e08
11 changed files with 74 additions and 33 deletions

View File

@@ -1,6 +1,7 @@
# REQUIRED: base URL for frontend -> backend calls (must be set for Activity feed and other API calls).
# Must be reachable from the browser (host).
NEXT_PUBLIC_API_URL=http://localhost:8000
# Base URL for frontend -> backend calls.
# Use `auto` to target the same host currently serving Mission Control on port 8000.
# Example explicit override: https://mc.example.com
NEXT_PUBLIC_API_URL=auto
# Auth mode: clerk or local.
# - clerk: Clerk sign-in flow