Skip to content

Commit

Permalink
fix: set a general cookie path
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcdo29 committed Sep 27, 2023
1 parent ebb4985 commit add83fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/server/session/src/lib/session.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ export class ServerSessionService {
`${name.toUpperCase() as Uppercase<typeof name>}_EXPIRES_IN`,
),
httpOnly: true,
path: "/api",
path: "/",
sameSite: "Strict" as const,
domain: this.domain,
...options,
Expand Down

0 comments on commit add83fd

Please sign in to comment.