Fix: 移除冗余配置

This commit is contained in:
2025-10-07 02:03:53 +08:00
parent 747ec12188
commit 4a5204fba5
-5
View File
@@ -27,11 +27,6 @@ spring:
allowedOrigins: "*"
allowedMethods: "*"
allowedHeaders: "*"
# 全局默认路由
default-filters:
- AddResponseHeader=Access-Control-Allow-Origin,*
- AddResponseHeader=Access-Control-Allow-Methods,GET,POST,PUT,DELETE,OPTIONS
- AddResponseHeader=Access-Control-Allow-Headers,Content-Type,Authorization
# 服务发现配置
discovery:
client: