From 58343a363d23ab7b9e4af1ef42246d55045e4fa7 Mon Sep 17 00:00:00 2001 From: Qin Guan Date: Sun, 24 Sep 2023 22:21:56 +0800 Subject: [PATCH] fix: disable token auto refresh --- eslint.config.js | 2 +- nuxt.config.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/eslint.config.js b/eslint.config.js index c096978..dc4a41f 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -7,7 +7,7 @@ export default antfu({ }, { rules: { // https://github.com/antfu/eslint-config/pull/214 - 'n/prefer-global/process': [ + 'node/prefer-global/process': [ 'off', 'never', ], diff --git a/nuxt.config.ts b/nuxt.config.ts index f18eda5..84d894c 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -109,7 +109,7 @@ export default defineNuxtConfig({ debug: process.env.FIREBASE_APP_CHECK_DEBUG_TOKEN || isDevelopment, provider: 'ReCaptchaEnterprise' || process.env.FIREBASE_APP_CHECK_PROVIDER, key: '6LfNWy8oAAAAAG9GdaqR-X8t8721YyHyILD_C6Pu' || process.env.FIREBASE_APP_CHECK_KEY, - isTokenAutoRefreshEnabled: true, + isTokenAutoRefreshEnabled: false, }, },