Skip to content

Commit

Permalink
Test: test cookie
Browse files Browse the repository at this point in the history
  • Loading branch information
sally0226 committed Jun 29, 2024
1 parent ae7acfd commit 1c7be71
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/auth/auth.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ export class AuthController {
res.cookie('Authorization', 'Bearer ' + user.accessToken, {
httpOnly: true,
sameSite: 'none',
secure: false,
secure: true,
path: '/',
maxAge: 360000,
domain: 'https://vitamin-c-web.vercel.app/',
domain: '.korrk.kr',
});

return res.redirect(302, this.configService.get('CLIENT_URL'));
Expand Down

0 comments on commit 1c7be71

Please sign in to comment.