diff --git a/config-files/api-gateway.yml b/config-files/api-gateway.yml index b091540..4ef13a7 100644 --- a/config-files/api-gateway.yml +++ b/config-files/api-gateway.yml @@ -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: