From 1d17f6f48683354a1fc74a5b6e2301a2fb141b41 Mon Sep 17 00:00:00 2001 From: pandahwang Date: Tue, 1 Oct 2024 20:44:19 +0900 Subject: [PATCH] =?UTF-8?q?add:=20WebConfig=20CORS=20=EC=84=A4=EC=A0=95=20?= =?UTF-8?q?=ED=94=84=EB=A1=A0=ED=8A=B8=EC=97=94=EB=93=9C=20IP=20=EC=B6=94?= =?UTF-8?q?=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/TeamNull/LostArk/LostArk/WebConfig.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/TeamNull/LostArk/LostArk/WebConfig.java b/src/main/java/com/TeamNull/LostArk/LostArk/WebConfig.java index 9a8f65a..31f178e 100644 --- a/src/main/java/com/TeamNull/LostArk/LostArk/WebConfig.java +++ b/src/main/java/com/TeamNull/LostArk/LostArk/WebConfig.java @@ -11,8 +11,8 @@ public class WebConfig implements WebMvcConfigurer { public void addCorsMappings(CorsRegistry registry) { registry.addMapping("/**") .allowedOrigins( - "http://localhost:3000" - // front IP 주소 추가할 곳 + "http://localhost:3000", + "http://52.79.232.220:3000"// front IP 주소 추가할 곳"" ) .allowedMethods("GET", "POST", "PUT", "DELETE") .allowedHeaders("*")