Skip to content

Commit

Permalink
hotfix: 서브 도메인 관련 기능 rollback
Browse files Browse the repository at this point in the history
  • Loading branch information
parksey committed Dec 3, 2023
1 parent 63c7b2d commit a90afcb
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/main/java/com/moabam/global/common/util/CookieUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ public static Cookie tokenCookie(String name, String value, long expireTime, Str
Cookie cookie = new Cookie(name, value);
cookie.setSecure(true);
cookie.setHttpOnly(true);
cookie.setDomain(".moabam.com");
cookie.setPath("/");
cookie.setMaxAge((int)expireTime);
cookie.setAttribute("SameSite", "Lax");
Expand All @@ -23,7 +22,6 @@ public static Cookie typeCookie(String value, long expireTime, String domain) {
Cookie cookie = new Cookie("token_type", value);
cookie.setSecure(true);
cookie.setHttpOnly(true);
cookie.setDomain(".moabam.com");
cookie.setPath("/");
cookie.setMaxAge((int)expireTime);
cookie.setAttribute("SameSite", "Lax");
Expand Down

0 comments on commit a90afcb

Please sign in to comment.