tag(修复):修复跨域错误

This commit is contained in:
OrangeRoll
2026-08-11 16:37:53 +08:00
parent 0f82920df0
commit b04c0ad43e
13 changed files with 202 additions and 104 deletions
+7
View File
@@ -6,10 +6,17 @@ LIVEKIT_API_KEY=devkey
LIVEKIT_API_SECRET=replace-with-a-long-random-secret
LIVEKIT_PUBLIC_URL=ws://localhost:7880
# Address on which the application-server gateway listens. Set this server's
# private IP where possible, then allow only the external Nginx server in the firewall.
GATEWAY_BIND_ADDRESS=0.0.0.0
AUTH_JWT_ISSUER=screen-share-api
AUTH_JWT_AUDIENCE=screen-share-web
AUTH_JWT_REALM=screen-share
AUTH_JWT_SECRET=replace-with-a-different-long-random-secret
# Comma-separated browser origins allowed to call the API. For a local package,
# use http://localhost:8081; for production, use https://your-domain.
CORS_ALLOWED_ORIGINS=http://localhost:8081
BOOTSTRAP_ADMIN_USERNAME=admin
BOOTSTRAP_ADMIN_PASSWORD=change-this-admin-password
BOOTSTRAP_ADMIN_DISPLAY_NAME=管理员