liusheng
2023-10-27 9b1a7b26c781e18eea12f82124e2fb8a57872f33
ruoyi-framework/src/main/java/com/ruoyi/framework/config/ResourcesConfig.java
@@ -52,7 +52,7 @@
    public CorsFilter corsFilter()
    {
        CorsConfiguration config = new CorsConfiguration();
        // config.setAllowCredentials(true);20230302
        config.setAllowCredentials(true);
        // 设置访问源地址
        config.addAllowedOriginPattern("*");
        // 设置访问源请求头