diff --git a/playground/composables/cookie-store.ts b/playground/composables/cookie-store.ts index c807df1..a98b8b3 100644 --- a/playground/composables/cookie-store.ts +++ b/playground/composables/cookie-store.ts @@ -4,6 +4,6 @@ export const useCookieStore = defineStore('cookie', () => { return { username } }, { persist: { - storage: piniaPluginPersistedstate.cookies(), + storage: piniaPluginPersistedstate.cookies({ sameSite: 'lax' }), }, })