Skip to content

Commit

Permalink
1、修复部分BUG
Browse files Browse the repository at this point in the history
  • Loading branch information
MakcRe committed Jun 24, 2023
1 parent 7b37a21 commit c74ad4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ const consturctServer = async (moduleDefs?: ModuleDefinition[]): Promise<Express
res.append(
'Set-Cookie',
cookies.map((cookie) => {
return cookie + '; SameSite=None; Secure'
return cookie + '; PATH=/; SameSite=None; Secure'
}),
)
} else {
Expand Down

0 comments on commit c74ad4c

Please sign in to comment.