Skip to content

Commit

Permalink
fix: resolve login problem
Browse files Browse the repository at this point in the history
  • Loading branch information
chanwoo00106 committed Jul 11, 2024
1 parent d5532dc commit a4a6aef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/app/src/features/auth/lib/setAuthCookies.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { NextApiRequest, NextApiResponse } from 'next'
import Cookies from 'cookies'

const cookieOption = (expires: string): Partial<Cookies.SetOption> => ({
secure: process.env.NODE_ENV === 'production',
//secure: process.env.NODE_ENV === 'production',
httpOnly: true,
expires: new Date(expires),
sameSite: 'strict',
Expand Down

0 comments on commit a4a6aef

Please sign in to comment.