From 377447fa2753c9c0404ad41fecc82bf92b525bd5 Mon Sep 17 00:00:00 2001 From: Mentor Date: Wed, 3 Apr 2024 13:44:05 +0200 Subject: [PATCH] debugging --- src/modules/firebase.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/firebase.js b/src/modules/firebase.js index 3efeb57..5f60ba3 100644 --- a/src/modules/firebase.js +++ b/src/modules/firebase.js @@ -43,7 +43,7 @@ const db = () => { // App check config if( import.meta.env.NODE_ENV === 'development' || VITE_APPCHECK_DEBUG_TOKEN ) self.FIREBASE_APPCHECK_DEBUG_TOKEN = VITE_APPCHECK_DEBUG_TOKEN || true -log( 'Initialising app check with ', VITE_APPCHECK_DEBUG_TOKEN ) +log( 'Initialising app check with ', VITE_APPCHECK_DEBUG_TOKEN || VITE_recaptcha_site_key ) const appcheck = initializeAppCheck( app(), { provider: new ReCaptchaV3Provider( VITE_recaptcha_site_key ), isTokenAutoRefreshEnabled: true