@edgedev/firebase 2.1.73 → 2.1.75
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 +2 -1
- package/package.json +1 -1
package/edgeFirebase.ts
CHANGED
|
@@ -223,6 +223,7 @@ export const EdgeFirebase = class {
|
|
|
223
223
|
},
|
|
224
224
|
isPersistant: false,
|
|
225
225
|
enablePopupRedirect: false,
|
|
226
|
+
functionsRegion: "us-central1",
|
|
226
227
|
) {
|
|
227
228
|
this.firebaseConfig = firebaseConfig;
|
|
228
229
|
this.app = initializeApp(this.firebaseConfig);
|
|
@@ -251,7 +252,7 @@ export const EdgeFirebase = class {
|
|
|
251
252
|
if (this.firebaseConfig.storageBucket) {
|
|
252
253
|
this.storage = getStorage(this.app);
|
|
253
254
|
}
|
|
254
|
-
this.functions = getFunctions(this.app);
|
|
255
|
+
this.functions = getFunctions(this.app, functionsRegion);
|
|
255
256
|
if (this.firebaseConfig.emulatorFunctions) {
|
|
256
257
|
connectFunctionsEmulator(this.functions, "127.0.0.1", this.firebaseConfig.emulatorFunctions)
|
|
257
258
|
}
|