Updated linting dependencies

This commit is contained in:
Alejandro Celaya 2018-12-31 18:23:47 +01:00
parent 019ce2e8ed
commit 03f409a803
10 changed files with 595 additions and 239 deletions
scripts

View file

@ -41,7 +41,7 @@ if (!checkRequiredFiles([ paths.appHtml, paths.appIndexJs ])) {
// Tools like Cloud9 rely on this.
const FALLBACK_PORT = 3000;
const DEFAULT_PORT = parseInt(process.env.PORT, 10) || FALLBACK_PORT;
const DEFAULT_PORT = parseInt(process.env.PORT) || FALLBACK_PORT;
const HOST = process.env.HOST || '0.0.0.0';
if (process.env.HOST) {