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/**")
.exposedHeaders("*")
.allowedHeaders("*")
.allowedMethods("*")
.allowedOrigins(corsAllowedOrigins)
.maxAge(3600);
}