credentails turned off

This commit is contained in:
sumedh
2024-09-23 17:41:17 +05:30
parent a34bde01d0
commit 172573d2c5

View File

@@ -11,8 +11,7 @@ public class CorsConfig implements WebMvcConfigurer {
registry.addMapping("/**") registry.addMapping("/**")
.allowedOrigins("*") .allowedOrigins("*")
.allowedHeaders("*") .allowedHeaders("*")
.allowedMethods("GET", "POST", "PUT", "DELETE") .allowedMethods("GET", "POST", "PUT", "DELETE");
.allowCredentials(true);
} }
} }