diff --git a/src/main/java/com/jisungin/config/WebConfig.java b/src/main/java/com/jisungin/config/WebConfig.java index 51358df..9166dcf 100644 --- a/src/main/java/com/jisungin/config/WebConfig.java +++ b/src/main/java/com/jisungin/config/WebConfig.java @@ -13,7 +13,7 @@ public class WebConfig implements WebMvcConfigurer { @Override public void addCorsMappings(CorsRegistry registry) { registry.addMapping("/**") - .allowedOrigins("*") + .allowedOrigins("http://localhost:3000", "https://api.jisungin.co.kr") .allowedMethods( HttpMethod.GET.name(), HttpMethod.POST.name(),