File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -25,9 +25,9 @@ export function useAppCheckToken() {
25
25
export interface VueFireAppCheckOptions extends AppCheckOptions {
26
26
/**
27
27
* 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.
29
29
*/
30
- debug ?: boolean
30
+ debug ?: boolean | string
31
31
}
32
32
33
33
/**
@@ -56,7 +56,7 @@ export function VueFireAppCheck(options: VueFireAppCheckOptions) {
56
56
57
57
if ( options . debug ) {
58
58
// @ts -expect-error: local override
59
- self . FIREBASE_APPCHECK_DEBUG_TOKEN = true
59
+ self . FIREBASE_APPCHECK_DEBUG_TOKEN = options . debug
60
60
}
61
61
62
62
const appCheck = initializeAppCheck ( firebaseApp , options )
You can’t perform that action at this time.
0 commit comments