mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2026-02-19 08:16:37 +00:00
Updated linting dependencies
This commit is contained in:
@@ -102,7 +102,8 @@ measureFileSizesBeforeBuild(paths.appBuild)
|
||||
process.exit(1);
|
||||
}
|
||||
)
|
||||
.then(zipDist);
|
||||
.then(zipDist)
|
||||
.catch((err) => console.error(err));
|
||||
|
||||
// Create the production build and print the deployment instructions.
|
||||
function build(previousFileSizes) {
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user