From 40e268ecae1856b5538ceac8d134205f35cc0cb0 Mon Sep 17 00:00:00 2001 From: YONGWOOK CHOI <60510921+CYY1007@users.noreply.github.com> Date: Fri, 15 Sep 2023 14:33:06 +0900 Subject: [PATCH] =?UTF-8?q?Hotfix/127=20=F0=9F=90=9B=20[FIX]=20swagger=20c?= =?UTF-8?q?ors=20=EC=88=98=EC=A0=95=20(#130)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * :bug: Fix : 자동로그인, 로그아웃 API 버그 수정 redis 유지시간과 토큰 만료시간 맞춤, 로그아웃시 모든 fcm 토큰 제거 * :bug: Fix : web config 수정 swagger cors 수정 * :bug: Fix : swagger cors 수정 --- src/main/java/zipdabang/server/config/WebConfig.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/zipdabang/server/config/WebConfig.java b/src/main/java/zipdabang/server/config/WebConfig.java index 16aeb53..bf41a97 100644 --- a/src/main/java/zipdabang/server/config/WebConfig.java +++ b/src/main/java/zipdabang/server/config/WebConfig.java @@ -31,8 +31,8 @@ public UrlBasedCorsConfigurationSource corsConfigurationSource() { CorsConfiguration configuration = new CorsConfiguration(); // 모든 출처를 허용합니다. - configuration.setAllowedOrigins(Arrays.asList("https://www.zipdabang.store")); - configuration.setAllowedOrigins(Arrays.asList("https://api.zipdabang.store")); + configuration.setAllowedOrigins(Arrays.asList("https://www.zipdabang.shop")); + configuration.setAllowedOrigins(Arrays.asList("https://api.zipdabang.shop")); configuration.setAllowedMethods(Arrays.asList("GET", "POST", "PUT", "PATCH", "DELETE", "OPTIONS")); configuration.setAllowedHeaders(Arrays.asList("*")); configuration.setAllowCredentials(true);