mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2025-05-04 02:32:58 +03:00
Updated linting dependencies
This commit is contained in:
parent
019ce2e8ed
commit
03f409a803
10 changed files with 595 additions and 239 deletions
scripts
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue