fix
This commit is contained in:
@@ -13,6 +13,15 @@ app:
|
|||||||
server:
|
server:
|
||||||
mode: release
|
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"
|
||||||
|
|
||||||
# ===========================================
|
# ===========================================
|
||||||
# 🗄️ 数据库配置
|
# 🗄️ 数据库配置
|
||||||
# ===========================================
|
# ===========================================
|
||||||
|
|||||||
Reference in New Issue
Block a user