Skip to content

Commit

Permalink
fix: update SecurityConfig.java for apic
Browse files Browse the repository at this point in the history
  • Loading branch information
FacerAin authored Aug 6, 2024
1 parent dfb08c7 commit 72ac0bf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/org/dnd/timeet/config/SecurityConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ public CorsConfigurationSource configurationSource() {
configuration.addAllowedMethod("*");
configuration.addAllowedOrigin(frontlocalurl);
configuration.addAllowedOrigin("https://timeet.vercel.app");
configuration.addAllowedOriginPattern("file*");
// configuration.addAllowedOriginPattern("*");
configuration.setAllowCredentials(true); // 클라이언트에서 쿠키 요청 허용
configuration.addExposedHeader("Authorization"); // 권고사항
Expand Down

0 comments on commit 72ac0bf

Please sign in to comment.