From cf303656ab63d4b1c68e560c51899ce798441b9d Mon Sep 17 00:00:00 2001 From: sshnote Date: Sun, 22 Dec 2024 20:16:27 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20SecurityConfig=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/dearnote/config/WebConfig.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/dearnote/config/WebConfig.java b/src/main/java/com/dearnote/config/WebConfig.java index 1beeb0a..dff3b2a 100644 --- a/src/main/java/com/dearnote/config/WebConfig.java +++ b/src/main/java/com/dearnote/config/WebConfig.java @@ -9,7 +9,7 @@ public class WebConfig implements WebMvcConfigurer { @Override public void addCorsMappings(CorsRegistry registry) { registry.addMapping("/**") - .allowedOrigins("http://localhost:5173") + .allowedOrigins("http://localhost:5173", "http://43.203.252.85") .allowedMethods("GET", "POST", "PUT", "DELETE", "OPTIONS") .allowedHeaders("Authorization", "Refresh","Content-Type", "X-Requested-With") .allowCredentials(true);