Pre Merge pull request !326 from zhengchalei/N/A
This commit is contained in:
commit
163a668f29
@ -52,7 +52,6 @@ public class ResourcesConfig implements WebMvcConfigurer
|
||||
public CorsFilter corsFilter()
|
||||
{
|
||||
CorsConfiguration config = new CorsConfiguration();
|
||||
config.setAllowCredentials(true);
|
||||
// 设置访问源地址
|
||||
config.addAllowedOriginPattern("*");
|
||||
// 设置访问源请求头
|
||||
|
Loading…
x
Reference in New Issue
Block a user