Skip to content

Commit

Permalink
Merge pull request #79 from H-Hive/feature/connect_frontend
Browse files Browse the repository at this point in the history
Refactor: 쿠키 방식에서 헤더 방식으로 jwt 전달
  • Loading branch information
wkdehdgk159 authored Jan 20, 2024
2 parents 8580bbc + cdee266 commit fdfc976
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 fdfc976

Please sign in to comment.