mirror of
https://github.com/kou029w/http-echo.git
synced 2025-01-31 06:07:59 +00:00
use process.env.PORT
This commit is contained in:
parent
6b6986c041
commit
163aa8a9b3
1 changed files with 1 additions and 1 deletions
2
index.js
2
index.js
|
@ -36,4 +36,4 @@ app.all("/*", function(req, res) {
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
app.listen(8080);
|
app.listen(process.env.PORT || 8080);
|
||||||
|
|
Loading…
Add table
Reference in a new issue