From fef3004378d8c376860d046f766360d5c38cfb5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E1=84=92=E1=85=A7=E1=86=AB=E1=84=90=E1=85=A2=20=E1=84=8E?= =?UTF-8?q?=E1=85=AC?= Date: Mon, 24 Feb 2025 16:28:38 +0900 Subject: [PATCH 1/2] =?UTF-8?q?fix:=20cors=20=EC=A0=95=EC=B1=85=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/amcamp/global/config/security/WebSecurityConfig.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/com/amcamp/global/config/security/WebSecurityConfig.java b/src/main/java/com/amcamp/global/config/security/WebSecurityConfig.java index dd05c3f..f48c3a7 100644 --- a/src/main/java/com/amcamp/global/config/security/WebSecurityConfig.java +++ b/src/main/java/com/amcamp/global/config/security/WebSecurityConfig.java @@ -57,6 +57,7 @@ public CorsConfigurationSource corsConfigurationSource() { configuration.addAllowedHeader("*"); configuration.addAllowedMethod("*"); configuration.setAllowCredentials(true); + configuration.addAllowedOriginPattern("http://localhost:5173"); configuration.addExposedHeader(SET_COOKIE); UrlBasedCorsConfigurationSource source = new UrlBasedCorsConfigurationSource(); From 35aa059dbc7c37c00838ca1a16bd89d869c931df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E1=84=92=E1=85=A7=E1=86=AB=E1=84=90=E1=85=A2=20=E1=84=8E?= =?UTF-8?q?=E1=85=AC?= Date: Mon, 24 Feb 2025 16:29:24 +0900 Subject: [PATCH 2/2] =?UTF-8?q?chore:=20=ED=85=8C=EC=8A=A4=ED=8A=B8=20?= =?UTF-8?q?=ED=8A=B8=EB=A6=AC=EA=B1=B0=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/develop_build_deploy.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/develop_build_deploy.yml b/.github/workflows/develop_build_deploy.yml index 85c12b0..4df4fc6 100644 --- a/.github/workflows/develop_build_deploy.yml +++ b/.github/workflows/develop_build_deploy.yml @@ -1,6 +1,9 @@ name: Build and Deploy to Develop on: + pull_request: + branches: + - develop push: branches: - develop