diff --git a/.github/workflows/github-actions.yml b/.github/workflows/github-actions.yml index e20e2aa..1ca5a61 100644 --- a/.github/workflows/github-actions.yml +++ b/.github/workflows/github-actions.yml @@ -29,7 +29,7 @@ jobs: echo "${{ secrets.APPLICATION_PROD }}" > ./application.yml # 환경별 yml 파일 생성(2) - dev - - name: Bake application-dev.yml + - name: Make application-dev.yml if: contains(github.ref, 'deploy') run: | cd ./src/main/resources diff --git a/src/main/java/sws/songpin/global/config/SecurityConfig.java b/src/main/java/sws/songpin/global/config/SecurityConfig.java index 8f50a7d..f006bf2 100644 --- a/src/main/java/sws/songpin/global/config/SecurityConfig.java +++ b/src/main/java/sws/songpin/global/config/SecurityConfig.java @@ -61,9 +61,7 @@ public CorsConfigurationSource corsConfigurationSource() { "https://api.songpin.n-e.kr", "https://songpin.vercel.app", "https://songpin.kr", - "https://www.songpin.kr", - "https://dev.songpin.n-e.kr", - "https://prod.songpin.n-e.kr")); + "https://www.songpin.kr")); configuration.setAllowedMethods(Arrays.asList("GET", "POST", "PUT", "PATCH", "DELETE", "HEAD", "OPTIONS")); configuration.addAllowedHeader("*");