Skip to content

Commit

Permalink
hotfix : Update CookieUtil.java
Browse files Browse the repository at this point in the history
  • Loading branch information
oosedus authored Oct 19, 2024
1 parent dfc8237 commit 0840ff2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/corecord/dev/common/util/CookieUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ public ResponseCookie createTokenCookie(String tokenName, String token) {

return ResponseCookie.from(tokenName, token)
.httpOnly(true)
.secure(false) // 배포 시 true로 설정
// .sameSite("None")
.secure(true) // 배포 시 true로 설정
.sameSite("None")
.path("/")
.maxAge(expirationTime / 1000) // maxAge는 초 단위
.build();
Expand Down

0 comments on commit 0840ff2

Please sign in to comment.