From c5e1ad814c5fe2bf77739186922f2724e4c1a23a Mon Sep 17 00:00:00 2001 From: Itamar Oren Date: Wed, 22 Feb 2023 14:35:53 -0500 Subject: [PATCH] port fix --- main.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/main.js b/main.js index 80aa646..58430ac 100644 --- a/main.js +++ b/main.js @@ -121,4 +121,6 @@ app.get('/createCalendar', async (req, res) => { res.send(await createIcs()) }); -app.listen(5000, () => console.log(`App listening on port ${port}`)); + +const port = 5000; +app.listen(port, () => console.log(`App listening on port ${port}`));