From 164b5d0a1e5946c9b662d61087ea10154e8b99bf Mon Sep 17 00:00:00 2001 From: seohyun-lee Date: Tue, 20 Aug 2024 01:47:12 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20=EC=84=9C=EB=B2=84=20=EC=A3=BC=EC=86=8C?= =?UTF-8?q?=EC=97=90=20=EB=8C=80=ED=95=B4=20cors=20=EC=B2=98=EB=A6=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/sws/songpin/global/config/SecurityConfig.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/sws/songpin/global/config/SecurityConfig.java b/src/main/java/sws/songpin/global/config/SecurityConfig.java index f006bf2..8f50a7d 100644 --- a/src/main/java/sws/songpin/global/config/SecurityConfig.java +++ b/src/main/java/sws/songpin/global/config/SecurityConfig.java @@ -61,7 +61,9 @@ public CorsConfigurationSource corsConfigurationSource() { "https://api.songpin.n-e.kr", "https://songpin.vercel.app", "https://songpin.kr", - "https://www.songpin.kr")); + "https://www.songpin.kr", + "https://dev.songpin.n-e.kr", + "https://prod.songpin.n-e.kr")); configuration.setAllowedMethods(Arrays.asList("GET", "POST", "PUT", "PATCH", "DELETE", "HEAD", "OPTIONS")); configuration.addAllowedHeader("*");