From 82b0ac9a752a521f34e3e6bfdce36a788026da61 Mon Sep 17 00:00:00 2001 From: songhyeonpk Date: Mon, 31 Mar 2025 13:29:27 +0900 Subject: [PATCH] =?UTF-8?q?chore:=20=EA=B0=9C=EB=B0=9C=20=ED=99=98?= =?UTF-8?q?=EA=B2=BD=EC=97=90=EC=84=9C=20=EC=84=B8=EC=85=98=20=EC=BF=A0?= =?UTF-8?q?=ED=82=A4=20=EB=8F=84=EB=A9=94=EC=9D=B8=20=EC=84=A4=EC=A0=95,?= =?UTF-8?q?=20CORS=20=ED=97=88=EC=9A=A9=20=EB=A9=94=EC=86=8C=EB=93=9C=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/ftm/server/infrastructure/security/SecurityConfig.java | 1 + src/main/resources/application-dev.yml | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/ftm/server/infrastructure/security/SecurityConfig.java b/src/main/java/com/ftm/server/infrastructure/security/SecurityConfig.java index b68f964..4759dbd 100644 --- a/src/main/java/com/ftm/server/infrastructure/security/SecurityConfig.java +++ b/src/main/java/com/ftm/server/infrastructure/security/SecurityConfig.java @@ -37,6 +37,7 @@ public class SecurityConfig { HttpMethod.PUT, HttpMethod.PATCH, HttpMethod.DELETE, + HttpMethod.OPTIONS, HttpMethod.HEAD); // CORS 에서 허용할 도메인 목록 diff --git a/src/main/resources/application-dev.yml b/src/main/resources/application-dev.yml index b4384e8..56b3465 100644 --- a/src/main/resources/application-dev.yml +++ b/src/main/resources/application-dev.yml @@ -13,4 +13,5 @@ server: cookie: name: SESSION same-site: none - secure: true \ No newline at end of file + secure: true + domain: .fittheman.site \ No newline at end of file