Skip to content

Commit

Permalink
Add partitioned cookie attribute to package docs (#84)
Browse files Browse the repository at this point in the history
  • Loading branch information
amorey authored Nov 26, 2024
1 parent 6d88da3 commit a6bc50b
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
3 changes: 2 additions & 1 deletion packages/express/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,8 @@ app.listen(port, () => {
domain: '',
secure: true,
httpOnly: true,
sameSite: 'strict'
sameSite: 'strict',
partitioned: undefined
},
excludePathPrefixes: [],
ignoreMethods: ['GET', 'HEAD', 'OPTIONS'],
Expand Down
3 changes: 2 additions & 1 deletion packages/nextjs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,8 @@ export const middleware = async (request: NextRequest) => {
domain: '',
secure: true,
httpOnly: true,
sameSite: 'strict'
sameSite: 'strict',
partitioned: undefined
},
excludePathPrefixes: ['/_next/'],
ignoreMethods: ['GET', 'HEAD', 'OPTIONS'],
Expand Down
3 changes: 2 additions & 1 deletion packages/node-http/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,8 @@ Check out the example Node-HTTP server in this repository: [Node-HTTP example](e
domain: '',
secure: true,
httpOnly: true,
sameSite: 'strict'
sameSite: 'strict',
partitioned: undefined
},
excludePathPrefixes: [],
ignoreMethods: ['GET', 'HEAD', 'OPTIONS'],
Expand Down
3 changes: 2 additions & 1 deletion packages/sveltekit/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,8 @@ export const handle: Handle = async ({ event, resolve }) => {
domain: '',
secure: true,
httpOnly: true,
sameSite: 'strict'
sameSite: 'strict',
partitioned: undefined
},
excludePathPrefixes: [],
ignoreMethods: ['GET', 'HEAD', 'OPTIONS'],
Expand Down

0 comments on commit a6bc50b

Please sign in to comment.