mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-07-13 17:52:22 +00:00
firebase should only run in production
This commit is contained in:
parent
995e3a796d
commit
b395596614
1 changed files with 1 additions and 1 deletions
|
|
@ -1,6 +1,6 @@
|
|||
var Firebase = require('firebase');
|
||||
var nconf = require('nconf');
|
||||
var isProd = true;
|
||||
var isProd = nconf.get('NODE_ENV') === 'production';
|
||||
var firebaseRef;
|
||||
var firebaseConfig = nconf.get('FIREBASE');
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue