Skip to content

Commit

Permalink
fix: set a general cookie path (#67)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcdo29 committed Sep 27, 2023
2 parents ebb4985 + add83fd commit a13bce4
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 a13bce4

Please sign in to comment.