mirror of
https://github.com/dillonkearns/elm-pages-v3-beta.git
synced 2025-01-06 05:34:48 +03:00
Only check flags for port, not env variables.
This commit is contained in:
parent
104fcc2b26
commit
86d14fb8e5
@ -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}`)
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user