Skip to content

Commit

Permalink
Refactor: 쿠키 방식에서 헤더 방식으로 jwt 전달
Browse files Browse the repository at this point in the history
  • Loading branch information
wkdehdgk159 committed Jan 20, 2024
1 parent f44d968 commit cdee266
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ public void addCorsMappings(CorsRegistry registry) {
.allowedMethods("GET", "POST", "PUT", "PATCH", "DELETE")
.allowedHeaders("Origin", "Content-Type", "Accept")
.allowCredentials(true)
.exposedHeaders("Authorization")
.maxAge(3600);
}

Expand Down

0 comments on commit cdee266

Please sign in to comment.