fix: 🐛 enforce global cookies path
This commit is contained in:
parent
8dc12c4e0d
commit
c38ae17881
|
@ -39,6 +39,7 @@ export async function handler(request: Request, ctx: FreshContext) {
|
|||
httpOnly: true,
|
||||
sameSite: 'Strict',
|
||||
secure: true,
|
||||
path: '/',
|
||||
expires: SessionStore.maxAge,
|
||||
})
|
||||
|
||||
|
@ -52,6 +53,7 @@ export async function handler(request: Request, ctx: FreshContext) {
|
|||
httpOnly: false,
|
||||
sameSite: 'Strict',
|
||||
secure: true,
|
||||
path: '/',
|
||||
expires: SessionStore.maxAge,
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue