Skip to content

Commit

Permalink
Fix: Cors Config File 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
cho1n committed Feb 14, 2024
1 parent 30156ca commit d077146
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 d077146

Please sign in to comment.