From 5d2b03b2a9f5d68b083524f31f7ba90a149858ed Mon Sep 17 00:00:00 2001 From: Miodec Date: Tue, 19 Jan 2021 18:32:46 +0000 Subject: [PATCH] allowing all origins on dev --- functions/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/index.js b/functions/index.js index 38539a0b8..96c13908f 100644 --- a/functions/index.js +++ b/functions/index.js @@ -1,7 +1,7 @@ const functions = require("firebase-functions"); const admin = require("firebase-admin"); let key = "./serviceAccountKey.json"; -let origin = "http://localhost:5000"; +let origin = "*"; if (process.env.GCLOUD_PROJECT === "monkey-type") { key = "./serviceAccountKey_live.json";