1
0
Fork 0
mirror of https://github.com/kou029w/http-echo.git synced 2025-01-30 21:58:00 +00:00

use process.env.PORT

This commit is contained in:
Nebel 2020-05-12 15:43:26 +09:00 committed by GitHub
parent 6b6986c041
commit 163aa8a9b3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -36,4 +36,4 @@ app.all("/*", function(req, res) {
}); });
}); });
app.listen(8080); app.listen(process.env.PORT || 8080);