Skip to content

Commit

Permalink
add: 쿠키저장 허용
Browse files Browse the repository at this point in the history
  • Loading branch information
yunjunghun0116 committed Aug 2, 2024
1 parent 897a8d2 commit 023e165
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/gift/config/WebConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ public void addCorsMappings(CorsRegistry registry) {
.allowedOrigins("http://localhost:3000", "localhost:3000")
.allowedMethods("GET", "POST", "PUT", "DELETE")
.allowedHeaders("*")
.allowCredentials(true)
.maxAge(1800);
}
}

0 comments on commit 023e165

Please sign in to comment.