Skip to content

Commit

Permalink
Merge pull request #89 from cho1n/main
Browse files Browse the repository at this point in the history
Fix: Cors Config File 수정
  • Loading branch information
JeongHeumChoi authored Feb 14, 2024
2 parents 904e46d + d077146 commit 0c59af9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/sideproject/puddy/config/CorsConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public CorsFilter corsFilter() {
CorsConfiguration configuration = new CorsConfiguration();

configuration.setAllowCredentials(true);
configuration.addAllowedOriginPattern("*");
configuration.addAllowedOriginPattern("https://puddy-sp-frontend.vercel.app/");
configuration.addAllowedHeader("*");
configuration.addAllowedMethod("*");
configuration.addExposedHeader("Authorization");
Expand Down

0 comments on commit 0c59af9

Please sign in to comment.