From 75b4992450ecfa34ab7ff90be41db0f05a75179d Mon Sep 17 00:00:00 2001 From: Matthew Grove Date: Sun, 3 Oct 2021 16:17:23 +0100 Subject: [PATCH] [FIX] Revert from testing setup --- functions/index.js | 2 +- src/App.js | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/functions/index.js b/functions/index.js index 97942dd..f99cbc3 100644 --- a/functions/index.js +++ b/functions/index.js @@ -1,7 +1,7 @@ /* eslint-disable indent */ /* eslint-disable no-tabs */ const levenshtein = require('js-levenshtein'); -const functions = require("firebase-functions");//.region("europe-west2") +const functions = require("firebase-functions").region("europe-west2");//.region("europe-west2") const admin = require("firebase-admin"); admin.initializeApp(); const db = admin.firestore(); diff --git a/src/App.js b/src/App.js index f636e3b..c8028c8 100644 --- a/src/App.js +++ b/src/App.js @@ -52,10 +52,10 @@ appCheck.activate( true ); -firebase.functions().useEmulator("localhost", 5001); -firebase.auth().useEmulator("http://localhost:9099"); -firebase.firestore().useEmulator("localhost", 8080); -const functions = firebase.functions();//firebase.app().functions("europe-west2"); +// firebase.functions().useEmulator("localhost", 5001); +// firebase.auth().useEmulator("http://localhost:9099"); +// firebase.firestore().useEmulator("localhost", 8080); +const functions = firebase.app().functions("europe-west2");//firebase.functions(); const fadeIn = keyframes` from {