From c9375d255d8b4b71053d6036e974d2cf71f919b2 Mon Sep 17 00:00:00 2001 From: noogen Date: Sun, 25 Nov 2018 12:25:06 -0600 Subject: [PATCH] allow for changing of port --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index ba65432..0401747 100644 --- a/app.js +++ b/app.js @@ -15,6 +15,6 @@ http.createServer((req, res) => { } else { return post(req, res, null) } -}).listen(5000, () => { +}).listen(process.env.PORT || 5000, () => { console.log('Listening for requests'); });