diff --git a/src/main/java/com/todaypopup/todaypopup/WebConfig.java b/src/main/java/com/todaypopup/todaypopup/WebConfig.java index 82a2d4c..431b8be 100644 --- a/src/main/java/com/todaypopup/todaypopup/WebConfig.java +++ b/src/main/java/com/todaypopup/todaypopup/WebConfig.java @@ -10,7 +10,7 @@ public class WebConfig implements WebMvcConfigurer { @Override public void addCorsMappings(CorsRegistry registry) { registry.addMapping("/**") - .allowedOrigins("*") + .allowedOriginPatterns("*") .allowedMethods("*") .allowedHeaders("*") .allowCredentials(false).maxAge(6000);