From 5da0d5fa4caf3be244f18d9d0d796443dd316ce3 Mon Sep 17 00:00:00 2001 From: tjdals4716 Date: Sat, 2 Nov 2024 22:23:56 +0900 Subject: [PATCH] =?UTF-8?q?:recycle:=20cors=20=ED=97=88=EC=9A=A9=20?= =?UTF-8?q?=EB=8F=84=EB=A9=94=EC=9D=B8=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/example/moyeothon/Config/WebConfig.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/com/example/moyeothon/Config/WebConfig.java b/src/main/java/com/example/moyeothon/Config/WebConfig.java index 9457e80..876346a 100644 --- a/src/main/java/com/example/moyeothon/Config/WebConfig.java +++ b/src/main/java/com/example/moyeothon/Config/WebConfig.java @@ -11,6 +11,7 @@ public void addCorsMappings(CorsRegistry registry) { registry.addMapping("/**") .allowedOrigins("http://localhost:8080", "http://127.0.0.1:8080", + "http://localhost:3000", "http://127.0.0.1:3000", "http://localhost:5173", "http://127.0.0.1:5173",