Configurable webui port

This commit is contained in:
crackcomm
2017-03-29 05:27:20 +02:00
committed by Adrian Gallagher
parent 028902f21b
commit f8b765fd53
2 changed files with 4 additions and 3 deletions

View File

@@ -4,4 +4,5 @@ Scott - gloriousCode
Ryan O'Hara-Reid - shazbert Ryan O'Hara-Reid - shazbert
Jacob Gadikian - faddat Jacob Gadikian - faddat
Cornel - cornelk Cornel - cornelk
Łukasz Kurowski - crackcomm
Adrian Gallagher - thrasher- Adrian Gallagher - thrasher-

View File

@@ -57,7 +57,7 @@ app.post('/config/all/save', function(req, res) {
}); });
var port = process.env.GCT_WEB_PORT || 80;
app.listen(80, function(){ app.listen(port, function(){
console.log('GoCyptoTrader website running! Enter http://localhost/ into browser'); console.log(`GoCyptoTrader website running! Enter http://localhost:${port}/ into browser`);
}); });