Skip to content

Commit

Permalink
docs(upgrade): connectFirestoreEmulator (#3041)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pingear authored Nov 11, 2021
1 parent 7e931cb commit bbb97de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/version-7-upgrade.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ In order to better support the tree-shakability introduced in Firebase v9 & to r
provideFirebaseApp(() => initializeApp(config)),
provideFirestore(() => {
const firestore = getFirestore();
connectEmulator(firestore, 'localhost', 8080);
connectFirestoreEmulator(firestore, 'localhost', 8080);
enableIndexedDbPersistence(firestore);
return firestore;
}),
Expand Down

0 comments on commit bbb97de

Please sign in to comment.