v1.1.0/release
This commit is contained in:
@@ -14,10 +14,12 @@ const FIREBASE_CONFIG = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
firebase.initializeApp(FIREBASE_CONFIG);
|
firebase.initializeApp(FIREBASE_CONFIG);
|
||||||
|
|
||||||
if (window.location.host !== "www.vaxand.me") {
|
if (window.location.host !== "www.vaxand.me") {
|
||||||
firebase.functions().useEmulator(window.location.host.split(":")[0], 5001);
|
firebase.functions().useEmulator(window.location.host.split(":")[0], 5001);
|
||||||
}
|
}
|
||||||
const fb_functions = firebase.functions();
|
|
||||||
|
const fb_functions = firebase.app().functions('us-central1');
|
||||||
const saveResult = fb_functions.httpsCallable("saveResultV1");
|
const saveResult = fb_functions.httpsCallable("saveResultV1");
|
||||||
const getPastResult = fb_functions.httpsCallable("getPastResultV1");
|
const getPastResult = fb_functions.httpsCallable("getPastResultV1");
|
||||||
const getStats = fb_functions.httpsCallable("getStatsV1");
|
const getStats = fb_functions.httpsCallable("getStatsV1");
|
||||||
|
|||||||
Reference in New Issue
Block a user