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("/**")
.allowedOrigins("*")
.allowedHeaders("*")
.allowedMethods("GET", "POST", "PUT", "DELETE")
.allowCredentials(true);
.allowedMethods("GET", "POST", "PUT", "DELETE");
}
}