feat(app): add frontend url configuration

This commit is contained in:
MingxuanGame
2025-08-12 09:01:10 +00:00
parent 0dd0d8f7ba
commit e70c197d65
6 changed files with 33 additions and 0 deletions

View File

@@ -22,6 +22,8 @@ PORT=8000
SERVER_URL="http://localhost:8000"
# 额外的 CORS 允许的域名列表
CORS_URLS='[]'
# 前端 URL当访问从游戏打开的 URL 时会重定向到这个 URL为空表示不重定向
FRONTEND_URL
# 调试模式,生产环境请设置为 false
DEBUG=false
# 私有 API 密钥,用于前后端 API 调用,使用 openssl rand -hex 32 生成