Skip to content

Commit

Permalink
refactor: 쿠키 도메인 설정 변경 (#60)
Browse files Browse the repository at this point in the history
  • Loading branch information
eom-tae-in authored Aug 16, 2024
1 parent ffc5d8d commit d93302b
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ public class AdminAuthController {

private static final String COOKIE_NAME = "refreshToken";
private static final String ANY_WAY = "/";
private static final String DOMAIN = ".atwoz";
private static final String NONE = "none";

@Value("${cookie.max-age}")
Expand Down Expand Up @@ -74,7 +73,6 @@ private HttpHeaders createCookieHeaders(final String refreshToken) {
.secure(true)
.path(ANY_WAY)
.maxAge(maxAge)
.domain(DOMAIN)
.sameSite(NONE)
.build();
HttpHeaders httpHeaders = new HttpHeaders();
Expand Down

0 comments on commit d93302b

Please sign in to comment.