From 1ef5adeb96b893c520baa161a12200c2a074fb21 Mon Sep 17 00:00:00 2001 From: bbbang105 <2018111366@dgu.ac.kr> Date: Mon, 30 Sep 2024 00:25:56 +0900 Subject: [PATCH] =?UTF-8?q?#43=20[fix]=20:=20origin=20URL=EC=9D=84=20?= =?UTF-8?q?=EC=88=98=EC=A0=95=ED=95=9C=EB=8B=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/side/onetime/global/config/SecurityConfig.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/side/onetime/global/config/SecurityConfig.java b/src/main/java/side/onetime/global/config/SecurityConfig.java index b4b9535..cb8dde4 100644 --- a/src/main/java/side/onetime/global/config/SecurityConfig.java +++ b/src/main/java/side/onetime/global/config/SecurityConfig.java @@ -30,7 +30,9 @@ CorsConfigurationSource corsConfigurationSource() { config.setAllowedOrigins(Arrays.asList( "http://localhost:5173", "https://onetime-test.vercel.app", - "https://onetime-with-members.com" + "https://www.onetime-test.vercel.app", + "https://onetime-with-members.com", + "https://www.onetime-with-members.com" )); config.setAllowedMethods(Collections.singletonList("*")); config.setAllowedHeaders(Collections.singletonList("*"));