mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-12-29 03:20:46 +08:00
allowing all origins on dev
This commit is contained in:
parent
6901bd95ae
commit
5d2b03b2a9
1 changed files with 1 additions and 1 deletions
|
|
@ -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";
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue