Fix web origin and CORS config for LAN hosting

This commit is contained in:
2026-08-09 21:06:31 -04:00
parent b3464252d4
commit 6883cedaf7
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -3,6 +3,7 @@ LIVEKIT_API_SECRET=devsecretdevsecretdevsecretdevsecret
PUBLIC_LIVEKIT_URL=ws://localhost:7880 PUBLIC_LIVEKIT_URL=ws://localhost:7880
PUBLIC_API_URL=http://localhost:8080 PUBLIC_API_URL=http://localhost:8080
PUBLIC_WEB_URL=http://localhost:3000
SESSION_SECRET=change-me-to-a-long-random-string SESSION_SECRET=change-me-to-a-long-random-string
SESSION_TTL_HOURS=12 SESSION_TTL_HOURS=12
+1
View File
@@ -49,6 +49,7 @@ services:
environment: environment:
PORT: 3000 PORT: 3000
HOST: 0.0.0.0 HOST: 0.0.0.0
ORIGIN: ${PUBLIC_WEB_URL}
PUBLIC_API_URL: ${PUBLIC_API_URL} PUBLIC_API_URL: ${PUBLIC_API_URL}
PUBLIC_LIVEKIT_URL: ${PUBLIC_LIVEKIT_URL} PUBLIC_LIVEKIT_URL: ${PUBLIC_LIVEKIT_URL}
ports: ports: