From 4a5204fba5e7317d565273d3c59437072c40358c Mon Sep 17 00:00:00 2001 From: Wonder Date: Tue, 7 Oct 2025 02:03:53 +0800 Subject: [PATCH] =?UTF-8?q?Fix:=20=E7=A7=BB=E9=99=A4=E5=86=97=E4=BD=99?= =?UTF-8?q?=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config-files/api-gateway.yml | 5 ----- 1 file changed, 5 deletions(-) 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: