From e7d0d69e55cf2f002d5988d96be852231dbc840b Mon Sep 17 00:00:00 2001 From: Peaceultime Date: Fri, 28 Mar 2025 19:57:55 +0100 Subject: [PATCH] Update config to add max age to session cookie (so it is no longer session-only and keep the user logged in) --- nuxt.config.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/nuxt.config.ts b/nuxt.config.ts index 446b427..6d18ef8 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -135,6 +135,7 @@ export default defineNuxtConfig({ runtimeConfig: { session: { password: '699c46bd-9aaa-4364-ad01-510ee4fe7013', + maxAge: 60 * 60 * 24 *30, }, database: 'db.sqlite', mail: {