Skip to content

Commit

Permalink
fix: CORS 도메인 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
Haewonny committed Feb 21, 2024
1 parent 26eb33f commit ac22987
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public CorsConfigurationSource corsConfigurationSource() {

corsConfig.addAllowedOrigin("http://localhost:3000");
corsConfig.addAllowedOrigin("http://localhost:8080");
corsConfig.addAllowedOrigin("http://hearo-server.shop:8080");
corsConfig.addAllowedOrigin("https://hearo-server.shop:8080");
corsConfig.addAllowedMethod("*");
corsConfig.addAllowedHeader("*");
corsConfig.setAllowCredentials(true);
Expand Down

0 comments on commit ac22987

Please sign in to comment.