Skip to content

Commit

Permalink
(feat: cloudfront, localhost cors 경로추가)
Browse files Browse the repository at this point in the history
  • Loading branch information
Baekys97 committed Nov 1, 2023
1 parent 49daffa commit b341915
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ public CorsConfigurationSource corsConfigurationSource() {
CorsConfiguration configuration = new CorsConfiguration();

configuration.addAllowedOrigin("https://petgoorm.life");
configuration.addAllowedOrigin("https://d2biune7179vay.cloudfront.net");
configuration.addAllowedOrigin("http://localhost:3000");
configuration.addAllowedHeader("*");
configuration.addAllowedMethod("*");
configuration.setAllowCredentials(true);
Expand Down

0 comments on commit b341915

Please sign in to comment.