variabalize port

This commit is contained in:
Paul Trowbridge 2019-03-27 11:59:21 -05:00
parent 6c0e98b13e
commit 0c08dae349

View File

@ -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'))