yxh
yxh
2023-05-31 0363d8873e26c8e7a2b8e9b08ee56b7a3605d6c7
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("*");
        // 设置访问源请求头