mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-06-06 07:26:47 +00:00
Configurable webui port
This commit is contained in:
committed by
Adrian Gallagher
parent
028902f21b
commit
f8b765fd53
@@ -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-
|
||||||
|
|||||||
@@ -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`);
|
||||||
});
|
});
|
||||||
Reference in New Issue
Block a user