From daaebc7053db603cf51507977e41a52db6b9657a Mon Sep 17 00:00:00 2001 From: w3bdesign <45217974+w3bdesign@users.noreply.github.com> Date: Sun, 9 Jul 2023 17:12:00 +0200 Subject: [PATCH] Increase cookie maxAge to 7 days --- plugins/apollo.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/apollo.js b/plugins/apollo.js index 25225d13..4688b254 100644 --- a/plugins/apollo.js +++ b/plugins/apollo.js @@ -9,7 +9,7 @@ import { provideApolloClient } from "@vue/apollo-composable"; export default defineNuxtPlugin((nuxtApp) => { const cookie = useCookie("woo-session", { - maxAge: 86_400, + maxAge: 604_800, sameSite: "lax", }); const config = useRuntimeConfig();