跨域
All checks were successful
构建并部署到测试环境(无 SSH) / build-and-deploy (push) Successful in 7m59s

This commit is contained in:
2026-05-07 16:28:23 +08:00
parent 573e887ca5
commit 73a3a04204
18 changed files with 634 additions and 894 deletions

View File

@@ -90,6 +90,14 @@ middleware:
max: 100
expiration: "1m"
storage: "memory"
cors:
enabled: true
allow_origins: "*"
allow_methods: "GET,POST,PUT,PATCH,DELETE,OPTIONS"
allow_headers: "Origin,Content-Type,Accept,Authorization,X-Requested-With,X-Request-ID"
expose_headers: "Content-Length,X-Request-ID"
allow_credentials: false
max_age: 86400
# 客户端配置
client: