Skip to content

Commit

Permalink
hotfix : 쿠키 보안 속성 설정 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
oosedus committed Oct 19, 2024
1 parent 991fd8e commit dfc8237
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/corecord/dev/common/util/CookieUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public ResponseCookie createTokenCookie(String tokenName, String token) {
return ResponseCookie.from(tokenName, token)
.httpOnly(true)
.secure(false) // 배포 시 true로 설정
.sameSite("None")
// .sameSite("None")
.path("/")
.maxAge(expirationTime / 1000) // maxAge는 초 단위
.build();
Expand Down

0 comments on commit dfc8237

Please sign in to comment.