This commit is contained in:
2025-08-28 01:05:46 +08:00
parent 50a4fa86ce
commit f324f15397

View File

@@ -13,6 +13,15 @@ app:
server:
mode: release
# ===========================================
# 🔒 CORS配置 - 生产环境
# ===========================================
development:
enable_cors: true
cors_allowed_origins: "https://consoletest.tianyuanapi.com,https://console.tianyuanapi.com"
cors_allowed_methods: "GET,POST,PUT,PATCH,DELETE,OPTIONS"
cors_allowed_headers: "Origin,Content-Type,Accept,Authorization,X-Requested-With,Access-Id"
# ===========================================
# 🗄️ 数据库配置
# ===========================================