From 0ec756cf5858fa840e4938fff949a0defafe6de0 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子li <15040126243@163.com> Date: 星期三, 04 八月 2021 13:09:43 +0800 Subject: [PATCH] fix oss列表 jpeg 不回显问题 --- 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