Skip to content

Commit

Permalink
Explicitly mark as not HttpOnly
Browse files Browse the repository at this point in the history
  • Loading branch information
LorisSigrist committed Jun 7, 2024
1 parent b0dcc28 commit 1ea7b14
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/tricky-elephants-matter.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@inlang/paraglide-sveltekit": patch
---

Explicitly mark `paraglide:lang` cookie as _not_ `HttpOnly`.
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ export const createHandle = <T extends string>(
maxAge: 31557600, //Math.round(60 * 60 * 24 * 365.25) = 1 year,
sameSite: "lax",
path: base || "/",
httpOnly: false,
})
}

Expand Down

0 comments on commit 1ea7b14

Please sign in to comment.