liusheng
2023-09-07 b113be4dfacb8ce58789b12e8beca6cd9ba8fb3c
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("*");
        // 设置访问源请求头