From 1ef54d3b911a1833620a659bbc58a158386cf943 Mon Sep 17 00:00:00 2001 From: tobinio Date: Fri, 28 Jun 2024 14:23:58 +0200 Subject: [PATCH] fix: resolve warnings --- components/navigation/DropDownLink.vue | 4 +--- composables/useVersion.ts | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/components/navigation/DropDownLink.vue b/components/navigation/DropDownLink.vue index d184bac..d1e9f00 100644 --- a/components/navigation/DropDownLink.vue +++ b/components/navigation/DropDownLink.vue @@ -22,9 +22,7 @@ watch(currentUrl, (url) => { {{ title }} diff --git a/composables/useVersion.ts b/composables/useVersion.ts index 1ead914..cd8523c 100644 --- a/composables/useVersion.ts +++ b/composables/useVersion.ts @@ -1,7 +1,7 @@ export type Version = "major" | "minor" | "all" export function useVersion() { - let cookie = useCookie("version", {maxAge: 60 * 60 * 24 * 30}); + let cookie = useCookie("version", {maxAge: 60 * 60 * 24 * 30, sameSite: true}); if (!cookie.value) { cookie.value = "major" -- 2.51.2