From a25808994f8aef5ec3d6b2e68aa9d11bcfef83c3 Mon Sep 17 00:00:00 2001 From: pandahwang Date: Tue, 1 Oct 2024 19:32:13 +0900 Subject: [PATCH] =?UTF-8?q?style:=20WebConfig=20=EC=A3=BC=EC=84=9D=20?= =?UTF-8?q?=EC=B6=94=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 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/TeamNull/LostArk/LostArk/WebConfig.java b/src/main/java/com/TeamNull/LostArk/LostArk/WebConfig.java index e745e85..9a8f65a 100644 --- a/src/main/java/com/TeamNull/LostArk/LostArk/WebConfig.java +++ b/src/main/java/com/TeamNull/LostArk/LostArk/WebConfig.java @@ -10,7 +10,10 @@ public class WebConfig implements WebMvcConfigurer { @Override public void addCorsMappings(CorsRegistry registry) { registry.addMapping("/**") - .allowedOrigins("http://localhost:3000") + .allowedOrigins( + "http://localhost:3000" + // front IP 주소 추가할 곳 + ) .allowedMethods("GET", "POST", "PUT", "DELETE") .allowedHeaders("*") .allowCredentials(true);