From 163aa8a9b3c2261ceead15094590f91d00a3b141 Mon Sep 17 00:00:00 2001 From: Kohei Watanabe Date: Tue, 12 May 2020 15:43:26 +0900 Subject: [PATCH] use process.env.PORT --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 59454e4..4bfe9e6 100644 --- a/index.js +++ b/index.js @@ -36,4 +36,4 @@ app.all("/*", function(req, res) { }); }); -app.listen(8080); +app.listen(process.env.PORT || 8080);