Skip to content

Commit

Permalink
Merge pull request #91 from UMC-ON/fix/cors
Browse files Browse the repository at this point in the history
fix: 프론트 도메인 추가
  • Loading branch information
ri-naa authored Sep 17, 2024
2 parents 0bdfb84 + d7a8639 commit 35797a0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
shell: bash

- name: Upload Build artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: build-artifacts
path: |
Expand All @@ -84,7 +84,7 @@ jobs:

steps:
- name: Download build artifacts
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: build-artifacts

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ public CorsConfigurationSource corsConfigurationSource() {
corsConfig.addAllowedOrigin("http://localhost:3000");
corsConfig.addAllowedOrigin("http://localhost:8080");
corsConfig.addAllowedOrigin("https://on-boarding-abroad.vercel.app/");
corsConfig.addAllowedOrigin("https://on-refactoring-git-vercel-1425s-projects.vercel.app/");
corsConfig.addAllowedMethod("*");
corsConfig.addAllowedHeader("*");
corsConfig.setAllowCredentials(true);
Expand Down

0 comments on commit 35797a0

Please sign in to comment.