Skip to content

Commit

Permalink
#fix: custom host/port to listen
Browse files Browse the repository at this point in the history
  • Loading branch information
akvlad committed Oct 6, 2023
1 parent 9e83eff commit 7f337ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions qryn_bun.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ export default async() => {


app.use(404, wrapper(handle404))
app.port = 3100
app.host = '0.0.0.0'
app.port = process.env.PORT || 3100
app.hostname = process.env.HOST || '0.0.0.0'
app.listen()
}

0 comments on commit 7f337ed

Please sign in to comment.