From 32bd7c780826c36f26676b2d9fd288a658d6fa8a Mon Sep 17 00:00:00 2001 From: litianxiang Date: Tue, 5 May 2026 17:31:00 +0800 Subject: [PATCH] cors --- src/main/resources/application.yml | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 716c063..57b8f1c 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -11,21 +11,6 @@ spring: name: aida-gateway cloud: gateway: - # ---------- 全局 CORS 配置 ---------- - globalcors: - cors-configurations: - '[/**]': - allowed-origin-patterns: "*" - allowed-methods: - - GET - - POST - - PUT - - DELETE - - OPTIONS - - PATCH - allowed-headers: "*" - allow-credentials: true - max-age: 3600 # ---------- 路由配置 ---------- routes: - id: aida-back