add port env
This commit is contained in:
parent
ed98239bdf
commit
edf2ddb7ce
|
|
@ -86,7 +86,7 @@ async function main() {
|
|||
|
||||
Global.wait("Starting Application")
|
||||
|
||||
app.listen(8080, () => {
|
||||
app.listen(process.env.PORT || 8080, () => {
|
||||
Global.info("Application successfully started.")
|
||||
Global.info("Started on http://localhost:8080")
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user