From c26bef2bcf491c47b12de6d86cc40500f2a3b68f Mon Sep 17 00:00:00 2001 From: kevin olson Date: Mon, 12 Aug 2024 23:16:45 -0500 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20well=20this=20works=20at=20least?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/app.vue | 1 - app/components/header/HeaderAuth.vue | 8 ++++++-- app/components/layout/LayoutLogin.vue | 8 +++++--- app/components/modal/ModalLogin.vue | 7 ++++++- app/components/token/TokenCard.vue | 1 - app/composables/api.ts | 7 ------- app/pages/index.vue | 6 +++++- nuxt.config.ts | 5 +++++ 8 files changed, 27 insertions(+), 16 deletions(-) diff --git a/app/app.vue b/app/app.vue index 90350df..b138619 100644 --- a/app/app.vue +++ b/app/app.vue @@ -32,7 +32,6 @@ useSeoMeta({ - diff --git a/nuxt.config.ts b/nuxt.config.ts index 16b7650..dfa4044 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -10,6 +10,11 @@ export default defineNuxtConfig({ '@nuxt/image', 'nuxt-auth-utils', ], + runtimeConfig: { + session: { + maxAge: 60 * 60 * 24 * 365, // 1 year + }, + }, eslint: { config: { standalone: false,