Skip to content

Commit

Permalink
#35 [Update] cookie에 domain설정을 추가하면 에러가 나므로 삭제해본다.
Browse files Browse the repository at this point in the history
  • Loading branch information
Anna-Jin committed Jul 19, 2022
1 parent fe4379b commit 780bda0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/main/java/com/mpnp/baechelin/util/CookieUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ public static Optional<Cookie> getCookie(HttpServletRequest request, String name
// 쿠키 생성
public static void addCookie(HttpServletResponse response, String name, String value, int maxAge) {
ResponseCookie cookie = ResponseCookie.from(name, value)
.domain(".bae-chelin.com")
.path("/")
.httpOnly(true)
.maxAge(maxAge)
Expand Down

0 comments on commit 780bda0

Please sign in to comment.