feat(server): add extra CORS origins url configuration
This commit is contained in:
@@ -20,6 +20,8 @@ HOST="0.0.0.0"
|
||||
PORT=8000
|
||||
# 服务器 URL
|
||||
SERVER_URL="http://localhost:8000"
|
||||
# 额外的 CORS 允许的域名列表
|
||||
CORS_URLS='[]'
|
||||
# 调试模式,生产环境请设置为 false
|
||||
DEBUG=false
|
||||
# 私有 API 密钥,用于前后端 API 调用,使用 openssl rand -hex 32 生成
|
||||
|
||||
Reference in New Issue
Block a user