From 0c08dae349a5c5b875987151dec696e305050f11 Mon Sep 17 00:00:00 2001 From: Paul Trowbridge Date: Wed, 27 Mar 2019 11:59:21 -0500 Subject: [PATCH] variabalize port --- index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index 3dc0805..db91ac4 100644 --- a/index.js +++ b/index.js @@ -18,8 +18,8 @@ var options = { passprase: [] }; -https.createServer(options,server).listen(3000, () => { - console.log('started on 3000') +https.createServer(options,server).listen(process.env.nodeport, () => { + console.log('started on '+ process.env.nodeport) }); //server.listen(3000, () => console.log('started'))