refactor: 移除生产环境配置文件中 CORS 配置

This commit is contained in:
hhs
2026-06-21 12:39:33 +08:00
parent 252cdcc8e7
commit d53265755a

View File

@@ -9,9 +9,6 @@ server:
shutdown_timeout: 15 # 生产环境优雅关闭时间稍长 shutdown_timeout: 15 # 生产环境优雅关闭时间稍长
heartbeat_interval: 30 heartbeat_interval: 30
heartbeat_timeout: 60 heartbeat_timeout: 60
allowed_origins: # 生产环境严格 CORS 白名单
- "https://camtalk.example.com"
- "https://www.camtalk.example.com"
session: session:
ttl: 60 # 生产环境会话 1 小时 ttl: 60 # 生产环境会话 1 小时