From 6be00af777b433b1b65bbff98964a54cde526dce Mon Sep 17 00:00:00 2001 From: "Jonguk. Lim" Date: Mon, 3 Jun 2024 10:14:34 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20x-csrf-token=20=ED=97=88=EC=9A=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/config/application-app.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/config/application-app.yml b/src/main/resources/config/application-app.yml index 9ae0ee1..c60699b 100644 --- a/src/main/resources/config/application-app.yml +++ b/src/main/resources/config/application-app.yml @@ -15,7 +15,7 @@ app: # 리소스 접근을 허용하는 HTTP 메서드를 지정 allowed-methods: GET, POST, PUT, DELETE # 요청을 허용하는 해더 - allowed-headers: Origin, Accept, X-Requested-With, Content-Type, Access-Control-Request-Method, Access-Control-Request-Headers, X-Csrftoken, Authorization + allowed-headers: Origin, Accept, X-Requested-With, Content-Type, Access-Control-Request-Method, Access-Control-Request-Headers, X-Csrftoken, x-csrf-token, Authorization #allowed-headers: Origin, Accept, X-Requested-With, Content-Type, Access-Control-Request-Method, Access-Control-Request-Headers, X-Csrftoken, Authorization, Content-Security-Policy # 클라이언트에서 preflight 의 요청 결과를 저장할 기간을 지정 # 60초 동안 preflight 요청을 캐시하는 설정으로, 첫 요청 이후 60초 동안은 OPTIONS 메소드를 사용하는 예비 요청을 보내지 않는다.