Update env. vars and remove logs.
This commit is contained in:
1
env.js
1
env.js
@@ -45,7 +45,6 @@ function getEnvVars() {
|
||||
let env = process.env.NODE_ENV;
|
||||
if (env === null || env === undefined || env === "") return ENV.dev;
|
||||
if (env.indexOf("dev") !== -1) return ENV.dev;
|
||||
if (env.indexOf("staging") !== -1) return ENV.staging;
|
||||
if (env.indexOf("prod") !== -1) return ENV.prod;
|
||||
else return ENV.prod;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user