Skip to content

Commit

Permalink
feat: 프론트 도메인 CORS 설정 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
Haewonny committed Feb 25, 2024
1 parent b31e581 commit ec0124e
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ public CorsConfigurationSource corsConfigurationSource() {
corsConfig.addAllowedOrigin("http://localhost:3000");
corsConfig.addAllowedOrigin("http://localhost:8080");
corsConfig.addAllowedOrigin("https://hearo-server.shop:8080");
corsConfig.addAllowedOrigin("https://hearo-hmuri.vercel.app");
corsConfig.addAllowedMethod("*");
corsConfig.addAllowedHeader("*");
corsConfig.setAllowCredentials(true);
Expand Down

0 comments on commit ec0124e

Please sign in to comment.