From a9038a8f1978e71296287bdfe97f44a84fa74e2c Mon Sep 17 00:00:00 2001 From: eckrin Date: Sat, 7 Oct 2023 17:30:33 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20filterchain=20config=20/=20=EC=82=AD?= =?UTF-8?q?=EC=A0=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/groupD/server/config/SpringSecurityConfig.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/groupD/server/config/SpringSecurityConfig.java b/src/main/java/com/groupD/server/config/SpringSecurityConfig.java index ffe32fc..d5252e4 100644 --- a/src/main/java/com/groupD/server/config/SpringSecurityConfig.java +++ b/src/main/java/com/groupD/server/config/SpringSecurityConfig.java @@ -38,7 +38,7 @@ public SecurityFilterChain filterChain(HttpSecurity http) throws Exception { CorsConfigurationSource source = request -> { // Cors 허용 패턴 CorsConfiguration config = new CorsConfiguration(); - config.setAllowedOrigins(List.of("http://localhost:3000", "https://diamond-hackathon-kutisms.vercel.app/")); + config.setAllowedOrigins(List.of("http://localhost:3000", "https://diamond-hackathon-kutisms.vercel.app")); config.setAllowedMethods(List.of("*")); config.setAllowCredentials(true);