File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -25,9 +25,9 @@ export function useAppCheckToken() {
2525export interface VueFireAppCheckOptions extends AppCheckOptions {
2626 /**
2727 * Setups the debug token global. See https://firebase.google.com/docs/app-check/web/debug-provider. Note you should
28- * set to false in production (or not set it at all).
28+ * set to false in production (or not set it at all). It can be set to a string to force a specific token.
2929 */
30- debug ?: boolean
30+ debug ?: boolean | string
3131}
3232
3333/**
@@ -56,7 +56,7 @@ export function VueFireAppCheck(options: VueFireAppCheckOptions) {
5656
5757 if ( options . debug ) {
5858 // @ts -expect-error: local override
59- self . FIREBASE_APPCHECK_DEBUG_TOKEN = true
59+ self . FIREBASE_APPCHECK_DEBUG_TOKEN = options . debug
6060 }
6161
6262 const appCheck = initializeAppCheck ( firebaseApp , options )
You can’t perform that action at this time.
0 commit comments