From 1dfc9bbaa65165aea2a8ab2203569a3e03613893 Mon Sep 17 00:00:00 2001
From: 疯狂的狮子li <15040126243@163.com>
Date: 星期六, 24 七月 2021 18:25:51 +0800
Subject: [PATCH] fix 修复多数据源druid全局配置缩进错误 引起无效配置问题

---
 ruoyi-framework/src/main/java/com/ruoyi/framework/config/ResourcesConfig.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ruoyi-framework/src/main/java/com/ruoyi/framework/config/ResourcesConfig.java b/ruoyi-framework/src/main/java/com/ruoyi/framework/config/ResourcesConfig.java
index c0f0817..c3cdc94 100644
--- a/ruoyi-framework/src/main/java/com/ruoyi/framework/config/ResourcesConfig.java
+++ b/ruoyi-framework/src/main/java/com/ruoyi/framework/config/ResourcesConfig.java
@@ -50,7 +50,7 @@
         CorsConfiguration config = new CorsConfiguration();
         config.setAllowCredentials(true);
         // 璁剧疆璁块棶婧愬湴鍧�
-        config.addAllowedOrigin("*");
+		config.addAllowedOriginPattern("*");
         // 璁剧疆璁块棶婧愯姹傚ご
         config.addAllowedHeader("*");
         // 璁剧疆璁块棶婧愯姹傛柟娉�

--
Gitblit v1.9.3