Skip to content

Commit

Permalink
fix(cookie): set same-site to strict
Browse files Browse the repository at this point in the history
  • Loading branch information
dargmuesli committed Jan 14, 2023
1 parent 5d155ac commit 0ab00f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/runtime/methods.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export const setCookie = (
name: string,
value: string,
options: Cookies.CookieAttributes
) => Cookies.set(name, value, options)
) => Cookies.set(name, value, { sameSite: 'Strict', ...options })

export const useResolveTranslatable = (locale = LOCALE_DEFAULT) => {
return (translatable: Translatable) =>
Expand Down

0 comments on commit 0ab00f7

Please sign in to comment.