From d4cf260b0ca30434c5813fd94f2119f7123f96d9 Mon Sep 17 00:00:00 2001 From: Jeonghyun Lee Date: Mon, 21 Aug 2023 03:02:38 +0900 Subject: [PATCH] [chore] update origin --- .../java/ceos/backend/global/config/WebSecurityConfig.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/main/java/ceos/backend/global/config/WebSecurityConfig.java b/src/main/java/ceos/backend/global/config/WebSecurityConfig.java index 2e9a2824..0de5b0a4 100644 --- a/src/main/java/ceos/backend/global/config/WebSecurityConfig.java +++ b/src/main/java/ceos/backend/global/config/WebSecurityConfig.java @@ -50,9 +50,6 @@ public class WebSecurityConfig { @Value("${server.admin_url}") private String ADMIN_URL; - @Value("${server.temporary_url}") - private String TEMPORARY_URL; - @Value("${swagger.user}") private String swaggerUser; @@ -191,8 +188,7 @@ private CorsConfiguration getDefaultCorsConfiguration() { "http://localhost:3001", USER_URL, ADMIN_URL, - SERVER_URL, - TEMPORARY_URL)); + SERVER_URL)); configuration.setAllowedHeaders(List.of("*")); configuration.setAllowedMethods(List.of("*")); configuration.setAllowCredentials(true);