diff --git a/src/main/java/com/MTAPizza/Sympoll/api_gateway_service/config/CorsConfig.java b/src/main/java/com/MTAPizza/Sympoll/api_gateway_service/config/CorsConfig.java index 9da66e9..d7a8f5a 100644 --- a/src/main/java/com/MTAPizza/Sympoll/api_gateway_service/config/CorsConfig.java +++ b/src/main/java/com/MTAPizza/Sympoll/api_gateway_service/config/CorsConfig.java @@ -10,7 +10,7 @@ public class CorsConfig implements WebMvcConfigurer { @Override public void addCorsMappings(CorsRegistry registry) { registry.addMapping("/**") - .allowedOrigins("http://localhost:8080", "http://localhost") + .allowedOrigins("http://localhost:8080", "http://localhost", "http://sympoll.ddns.net") .allowCredentials(true) .allowedMethods("GET", "POST", "PUT", "DELETE", "OPTIONS") .allowedHeaders("*")