Skip to content

Commit

Permalink
✨ [feat] 쿠키 도메인 설정 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
y2hscmtk committed Aug 4, 2024
1 parent 18a133c commit ee79594
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ private Cookie createCookie(String key, String value) {
cookie.setHttpOnly(true); // 자바스크립트에서 쿠키에 접근 가능
// 프론트에서 쿠키 접근을 위해 추가
cookie.setAttribute("SameSite","None");
cookie.setDomain("https://bugnyang2.netlify.app/");
return cookie;
}

Expand Down

0 comments on commit ee79594

Please sign in to comment.