Skip to content

Commit 639ef8d

Browse files
committed
allow local appcheck
1 parent e858fe3 commit 639ef8d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Diff for: src/App.svelte

+5
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@
2121
2222
import { initializeAppCheck, ReCaptchaV3Provider } from "firebase/app-check";
2323
24+
if (import.meta.env.DEV) {
25+
// @ts-ignore
26+
self.FIREBASE_APPCHECK_DEBUG_TOKEN = true;
27+
}
28+
2429
initializeAppCheck(app, {
2530
provider: new ReCaptchaV3Provider(
2631
"6LdAIqQlAAAAAC4kq-bag4J-HmAAVe_pu7T75QOf"

0 commit comments

Comments
 (0)