From 9a5e8700c8a53857454d7436f5a1614598f5bf60 Mon Sep 17 00:00:00 2001 From: TudbuT Date: Mon, 17 Jan 2022 08:12:50 +0100 Subject: [PATCH] Setting a custom port is now possible --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 8fac01e..06e8033 100644 --- a/index.js +++ b/index.js @@ -85,4 +85,4 @@ server.get('/comment', function get(req, res) { res.send("err1") }) -server.listen(process.argv[2] | process.env.PORT | 8080) +server.listen(process.argv[1] | process.env.PORT | 8080)