This commit is contained in:
2025-08-28 00:50:30 +08:00
parent 5051aea55c
commit 50a4fa86ce
2 changed files with 28 additions and 11 deletions

View File

@@ -228,9 +228,9 @@ development:
debug: true
enable_profiler: true
enable_cors: true
cors_allowed_origins: "http://localhost:3000,http://localhost:3001"
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"
cors_allowed_headers: "Origin,Content-Type,Accept,Authorization,X-Requested-With,Access-Id"
# 企业微信配置
wechat_work: