@edgedev/firebase 2.0.28 → 2.0.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/edgeFirebase.ts +3 -3
- package/package.json +1 -1
package/edgeFirebase.ts
CHANGED
|
@@ -226,12 +226,12 @@ export const EdgeFirebase = class {
|
|
|
226
226
|
}
|
|
227
227
|
|
|
228
228
|
if (this.firebaseConfig.emulatorAuth) {
|
|
229
|
-
connectAuthEmulator(this.auth, `http://
|
|
229
|
+
connectAuthEmulator(this.auth, `http://127.0.0.1:${this.firebaseConfig.emulatorAuth}`)
|
|
230
230
|
}
|
|
231
231
|
|
|
232
232
|
this.db = getFirestore(this.app);
|
|
233
233
|
if (this.firebaseConfig.emulatorFirestore) {
|
|
234
|
-
connectFirestoreEmulator(this.db, "
|
|
234
|
+
connectFirestoreEmulator(this.db, "127.0.0.1", this.firebaseConfig.emulatorFirestore)
|
|
235
235
|
}
|
|
236
236
|
|
|
237
237
|
if (this.firebaseConfig.measurementId) {
|
|
@@ -240,7 +240,7 @@ export const EdgeFirebase = class {
|
|
|
240
240
|
|
|
241
241
|
this.functions = getFunctions(this.app);
|
|
242
242
|
if (this.firebaseConfig.emulatorFunctions) {
|
|
243
|
-
connectFunctionsEmulator(this.functions, "
|
|
243
|
+
connectFunctionsEmulator(this.functions, "127.0.0.1", this.firebaseConfig.emulatorFunctions)
|
|
244
244
|
}
|
|
245
245
|
this.setOnAuthStateChanged();
|
|
246
246
|
}
|