allow credentials set to true +5
This commit is contained in:
@@ -9,9 +9,10 @@ public class CorsConfig implements WebMvcConfigurer {
|
||||
@Override
|
||||
public void addCorsMappings(CorsRegistry registry) {
|
||||
registry.addMapping("/**")
|
||||
.allowedOrigins("http://olympus-api-gateway.olympusai.live")
|
||||
.allowedOrigins("*")
|
||||
.allowedHeaders("*")
|
||||
.allowedMethods("GET", "POST", "PUT", "DELETE");
|
||||
.allowedMethods("GET", "POST", "PUT", "DELETE")
|
||||
.allowCredentials(true);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user