From 1b80d238c986bbbc431b122aa73a432450b66d44 Mon Sep 17 00:00:00 2001 From: shash0423 Date: Sat, 27 Sep 2025 11:53:41 +0900 Subject: [PATCH] =?UTF-8?q?chore:=20CORS=20=ED=97=88=EC=9A=A9=20Origin=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80=20#150?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/KUSITMS/WITHUS/global/config/CorsConfig.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/KUSITMS/WITHUS/global/config/CorsConfig.java b/src/main/java/KUSITMS/WITHUS/global/config/CorsConfig.java index 2278a23..c0b2800 100644 --- a/src/main/java/KUSITMS/WITHUS/global/config/CorsConfig.java +++ b/src/main/java/KUSITMS/WITHUS/global/config/CorsConfig.java @@ -25,6 +25,7 @@ public CorsFilter corsFilter() { for (int port = 3000; port <= 3010; port++) { config.addAllowedOriginPattern("http://localhost:" + port); } + config.addAllowedOriginPattern("https://withus-*-chaewons-projects-*.vercel.app"); config.addAllowedMethod("*"); config.addAllowedHeader("*");