From 69c0b180235ae866ced1dc14fddb0f8794526046 Mon Sep 17 00:00:00 2001 From: w3bdesign <45217974+w3bdesign@users.noreply.github.com> Date: Sun, 9 Jul 2023 17:14:19 +0200 Subject: [PATCH] maxAge cookie 14 days --- plugins/apollo.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/apollo.js b/plugins/apollo.js index 4688b254..cc616acf 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: 604_800, + maxAge: 1_209_600, // 14 days sameSite: "lax", }); const config = useRuntimeConfig();