diff --git a/src/main/java/com/example/moyeothon/Config/WebConfig.java b/src/main/java/com/example/moyeothon/Config/WebConfig.java index 9457e80..e80f699 100644 --- a/src/main/java/com/example/moyeothon/Config/WebConfig.java +++ b/src/main/java/com/example/moyeothon/Config/WebConfig.java @@ -9,13 +9,7 @@ public class WebConfig implements WebMvcConfigurer { @Override public void addCorsMappings(CorsRegistry registry) { registry.addMapping("/**") - .allowedOrigins("http://localhost:8080", - "http://127.0.0.1:8080", - "http://127.0.0.1:3000", - "http://localhost:5173", - "http://127.0.0.1:5173", - "https://newteamsgoody.shop", - "https://moyeothon.vercel.app") + .allowedOrigins("http://localhost:8080", "http://localhost:5173", "http://127.0.0.1:5173", "https://newteamsgoody.shop", "https://moyeothon.vercel.app") .allowedMethods("GET", "POST", "PUT", "DELETE", "OPTIONS") .allowedHeaders("*") .allowCredentials(true)