Use relative API URLs by default for external access

This commit is contained in:
Chris Scott committed 2025-11-25 14:25:10 -05:00
1 parent 349c130311
commit a4b6222577
1 file changed
+1 -1
+1 -1
View File
@@ -30,7 +30,7 @@ export function createClientConfig(env: {
: DEFAULTS.SERVER.PORT
return {
API_BASE_URL: env.VITE_API_URL || `http://localhost:${serverPort}`,
API_BASE_URL: env.VITE_API_URL || '',
SERVER_PORT: serverPort,
OPENCODE_PORT: env.VITE_OPENCODE_PORT
? parseInt(env.VITE_OPENCODE_PORT, 10)