Pre Merge pull request !326 from zhengchalei/N/A

This commit is contained in:
zhengchalei 2022-05-01 12:24:03 +00:00 committed by Gitee
commit 163a668f29
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -52,7 +52,6 @@ public class ResourcesConfig implements WebMvcConfigurer
public CorsFilter corsFilter()
{
CorsConfiguration config = new CorsConfiguration();
config.setAllowCredentials(true);
// 设置访问源地址
config.addAllowedOriginPattern("*");
// 设置访问源请求头