Only check flags for port, not env variables.

This commit is contained in:
Dillon Kearns 2019-11-03 20:18:49 -08:00
parent 104fcc2b26
commit 86d14fb8e5

View File

@ -51,7 +51,7 @@ function start({ routes, debug, customPort, manifestConfig }) {
});
});
const port = customPort || process.env.PORT || 3000;
const port = customPort || 3000;
app.listen(port, () =>
console.log(`🚀 elm-pages develop on http://localhost:${port}`)
);