diff --git a/src/main/java/com/catchroom/chat/global/config/WebConfig.java b/src/main/java/com/catchroom/chat/global/config/WebConfig.java index 06fcbd4..270cb0d 100644 --- a/src/main/java/com/catchroom/chat/global/config/WebConfig.java +++ b/src/main/java/com/catchroom/chat/global/config/WebConfig.java @@ -12,6 +12,7 @@ public void addCorsMappings(CorsRegistry registry) { registry.addMapping("/**") .allowedOrigins("http://localhost:8080") .allowedOrigins("http://localhost:3000") + .allowedOrigins("http://13.124.240.142:8080") .allowedMethods("GET", "POST", "PUT", "PATCH", "DELETE", "OPTIONS", "MESSAGE") .allowedHeaders("*") .allowCredentials(true);