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

Commit

Permalink
[FIX]: 필요한 header 다 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
LEEJaeHyeok97 committed Jan 17, 2024
1 parent 9d42520 commit 44d7a86
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 44d7a86

Please sign in to comment.