diff --git a/src/main/java/com/TeamNull/LostArk/LostArk/WebConfig.java b/src/main/java/com/TeamNull/LostArk/LostArk/WebConfig.java index e745e85..9a8f65a 100644 --- a/src/main/java/com/TeamNull/LostArk/LostArk/WebConfig.java +++ b/src/main/java/com/TeamNull/LostArk/LostArk/WebConfig.java @@ -10,7 +10,10 @@ public class WebConfig implements WebMvcConfigurer { @Override public void addCorsMappings(CorsRegistry registry) { registry.addMapping("/**") - .allowedOrigins("http://localhost:3000") + .allowedOrigins( + "http://localhost:3000" + // front IP 주소 추가할 곳 + ) .allowedMethods("GET", "POST", "PUT", "DELETE") .allowedHeaders("*") .allowCredentials(true);