From 80f24e7af0673a9039b1a0be462e4a81f77974f7 Mon Sep 17 00:00:00 2001 From: hyxklee Date: Thu, 14 Nov 2024 19:05:41 +0900 Subject: [PATCH] =?UTF-8?q?HOTFIX:=20CORS=20=EC=A3=BC=EC=86=8C=20=EC=B6=94?= =?UTF-8?q?=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/leets/X/global/config/SecurityConfig.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/com/leets/X/global/config/SecurityConfig.java b/src/main/java/com/leets/X/global/config/SecurityConfig.java index 2376577..ab03d91 100644 --- a/src/main/java/com/leets/X/global/config/SecurityConfig.java +++ b/src/main/java/com/leets/X/global/config/SecurityConfig.java @@ -84,6 +84,7 @@ public CorsConfigurationSource corsConfigurationSource() { configuration.addAllowedOriginPattern("http://localhost:3000"); configuration.addAllowedOriginPattern("https://43.203.226.98.nip.io"); configuration.addAllowedOriginPattern("https://x-fe-a.vercel.app"); + configuration.addAllowedOriginPattern("https://x-fe-a-git-feat-36-kimjiwons-projects.vercel.app"); configuration.addAllowedOriginPattern("http://127.0.0.1:5500"); // HTML Live Server CORS 설정 configuration.addAllowedMethod("*"); configuration.addAllowedHeader("*"); @@ -96,3 +97,4 @@ public CorsConfigurationSource corsConfigurationSource() { return source; } } +