From ff092da5f59869e14550ae6cdc9fc9f715b45106 Mon Sep 17 00:00:00 2001 From: Woo Joo Chae Date: Mon, 27 Nov 2023 13:26:21 +0900 Subject: [PATCH] =?UTF-8?q?[BE]=20HOTFIX:=20=ED=95=84=ED=84=B0=20=EC=8B=9C?= =?UTF-8?q?=EA=B0=84=20=EB=91=90=EB=B2=88=EC=B0=8D=ED=9E=88=EB=8A=94=20?= =?UTF-8?q?=EC=98=A4=EB=A5=98=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/org/ftclub/cabinet/CabinetApplication.java | 2 -- .../main/java/org/ftclub/cabinet/utils/TimeResponseFilter.java | 1 - 2 files changed, 3 deletions(-) diff --git a/backend/src/main/java/org/ftclub/cabinet/CabinetApplication.java b/backend/src/main/java/org/ftclub/cabinet/CabinetApplication.java index 867792c9b..0addc2169 100644 --- a/backend/src/main/java/org/ftclub/cabinet/CabinetApplication.java +++ b/backend/src/main/java/org/ftclub/cabinet/CabinetApplication.java @@ -4,11 +4,9 @@ import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration; -import org.springframework.boot.web.servlet.ServletComponentScan; import org.springframework.context.annotation.Import; @SpringBootApplication(exclude = SecurityAutoConfiguration.class) -@ServletComponentScan @Import({CorsConfig.class}) // @CrossOrigin(origins = {"*"}, allowedHeaders = {"*"}, originPatterns = {"*"}) public class CabinetApplication { diff --git a/backend/src/main/java/org/ftclub/cabinet/utils/TimeResponseFilter.java b/backend/src/main/java/org/ftclub/cabinet/utils/TimeResponseFilter.java index 7494eb962..b22fdb52a 100644 --- a/backend/src/main/java/org/ftclub/cabinet/utils/TimeResponseFilter.java +++ b/backend/src/main/java/org/ftclub/cabinet/utils/TimeResponseFilter.java @@ -16,7 +16,6 @@ * 모든 응답에 X-Current-Time 헤더를 추가하는 필터 */ @Component -@Order(1) @WebFilter("/*") public class TimeResponseFilter implements Filter {