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