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 dotenvExpand = require('dotenv-expand');
|
||||||
const process = require('process');
|
const process = require('process');
|
||||||
|
|
||||||
const env = {};
|
let env = dotenv.config();
|
||||||
let dotEnvConfig = dotenv.config({ processEnv: env });
|
dotenvExpand.expand(env);
|
||||||
dotEnvConfig = dotenvExpand.expand({ parsed: env, processEnv: env });
|
|
||||||
|
|
||||||
const getAppHttpHost = () => env.APP_HTTP_HOST||'nm3clol-express-app';
|
const getAppHttpHost = () => env.APP_HTTP_HOST||'nm3clol-express-app';
|
||||||
const getAppHttpPort = () => process.env.PORT||env.APP_HTTP_PORT||3000;
|
const getAppHttpPort = () => process.env.PORT||env.APP_HTTP_PORT||3000;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user