Compare commits
No commits in common. "5e50acf9cfa336dbdc2427dffa5e4950ffa2727f" and "737eef91a1fe9aa3d62042e854cda6bc6af98f53" have entirely different histories.
5e50acf9cf
...
737eef91a1
|
|
@ -5,9 +5,8 @@ const dotenv = require('dotenv');
|
|||
const dotenvExpand = require('dotenv-expand');
|
||||
const process = require('process');
|
||||
|
||||
const env = {};
|
||||
let dotEnvConfig = dotenv.config({ processEnv: env });
|
||||
dotEnvConfig = dotenvExpand.expand({ parsed: env, processEnv: env });
|
||||
let env = dotenv.config();
|
||||
dotenvExpand.expand(env);
|
||||
|
||||
const getAppHttpHost = () => env.APP_HTTP_HOST||'nm3clol-express-app';
|
||||
const getAppHttpPort = () => process.env.PORT||env.APP_HTTP_PORT||3000;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user