Add missing corse.

This commit is contained in:
Paulo Gustavo Veiga 2024-02-18 08:44:46 -08:00
parent e409abb265
commit b9bd733e5e

View File

@ -19,6 +19,7 @@ public class WebConfig implements WebMvcConfigurer {
registry.addMapping("/api/**") registry.addMapping("/api/**")
.exposedHeaders("*") .exposedHeaders("*")
.allowedHeaders("*") .allowedHeaders("*")
.allowedMethods("*")
.allowedOrigins(corsAllowedOrigins) .allowedOrigins(corsAllowedOrigins)
.maxAge(3600); .maxAge(3600);
} }