Skip to content
This repository has been archived by the owner on Oct 20, 2024. It is now read-only.

Commit

Permalink
Merge pull request #181 from FinFellows/feat/#143_setCookie
Browse files Browse the repository at this point in the history
[FIX]: 필요한 header 다 추가
  • Loading branch information
LEEJaeHyeok97 authored Jan 17, 2024
2 parents 29d0a56 + 44d7a86 commit 04344c3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public void addCorsMappings(CorsRegistry registry) {
registry.addMapping("/**")
.allowedOrigins(allowedOrigins)
.allowedMethods("GET", "POST", "PUT", "PATCH", "DELETE", "OPTIONS")
// .allowedHeaders("Authorization")
.allowedHeaders("Authorization", "Content-Type", "X-Requested-With", "Accept", "Origin", "Access-Control-Request-Method", "Access-Control-Request-Headers", "Cache-Control")
.allowCredentials(true)
.exposedHeaders("Set-Cookie")
.maxAge(MAX_AGE_SECS);
Expand Down

0 comments on commit 04344c3

Please sign in to comment.