Skip to content

Commit 5d43d9b

Browse files
authored
Update auth.controller.ts
1 parent c8927fe commit 5d43d9b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

server/src/auth/auth.controller.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ export default class AuthController {
105105
httpOnly: true,
106106
secure: true,
107107
sameSite: 'none',
108+
domain: '.savemyessay.com',
108109
maxAge: 24 * 60 * 60 * 1000 // 24시간
109110
}); // 토큰을 쿠키에 저장하지 않음 무한로딩
110111
return res.status(200).json(result);
@@ -141,4 +142,4 @@ export default class AuthController {
141142
throw new UnauthorizedException('로그아웃 중 오류가 발생했습니다.');
142143
}
143144
}
144-
}
145+
}

0 commit comments

Comments
 (0)