variabalize port
This commit is contained in:
parent
6c0e98b13e
commit
0c08dae349
4
index.js
4
index.js
@ -18,8 +18,8 @@ var options = {
|
|||||||
passprase: []
|
passprase: []
|
||||||
};
|
};
|
||||||
|
|
||||||
https.createServer(options,server).listen(3000, () => {
|
https.createServer(options,server).listen(process.env.nodeport, () => {
|
||||||
console.log('started on 3000')
|
console.log('started on '+ process.env.nodeport)
|
||||||
});
|
});
|
||||||
//server.listen(3000, () => console.log('started'))
|
//server.listen(3000, () => console.log('started'))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user