Skip to content

Commit

Permalink
Increase cookie maxAge to 7 days
Browse files Browse the repository at this point in the history
  • Loading branch information
w3bdesign committed Jul 9, 2023
1 parent 27c97dc commit daaebc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/apollo.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit daaebc7

Please sign in to comment.