Skip to content

Commit

Permalink
Update firestore settings to support pen testing (#137)
Browse files Browse the repository at this point in the history
  • Loading branch information
warrensearle committed Dec 14, 2021
1 parent 5220200 commit 82bccbd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/firebase.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ const functions = firebase.initializeApp(config).functions('europe-west2');

// Initialise Firestore
const firestore = firebase.firestore();
firestore.settings({
experimentalForceLongPolling: true,
});

// Other firebase exports
const auth = firebase.auth;
Expand Down

0 comments on commit 82bccbd

Please sign in to comment.