Skip to content

Commit

Permalink
Merge pull request #36 from storyblok/SHAPE-5826-fix-chrome-phaseout-…
Browse files Browse the repository at this point in the history
…partitioned-cookie
  • Loading branch information
BibiSebi authored Jun 25, 2024
2 parents bfde1c3 + 3a138c7 commit cebc3f1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
* @param value
*/
export const changedCookieHeaderValue = (name: string, value: string) =>
`${name}=${value}; path=/; samesite=none; secure; httponly`
`${name}=${value}; path=/; samesite=none; secure; httponly; partitioned;`
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
export const expiredCookieHeaderValue = (name: string) =>
`${name}=""; path=/; samesite=none; secure; httponly; expires=Thu, 01 Jan 1970 00:00:00 GMT`
`${name}=""; path=/; samesite=none; secure; httponly; expires=Thu, 01 Jan 1970 00:00:00 GMT; partitioned;`

0 comments on commit cebc3f1

Please sign in to comment.