mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-05-19 07:26:49 +00:00
Configurable webui port
This commit is contained in:
committed by
Adrian Gallagher
parent
028902f21b
commit
f8b765fd53
@@ -57,7 +57,7 @@ app.post('/config/all/save', function(req, res) {
|
||||
});
|
||||
|
||||
|
||||
|
||||
app.listen(80, function(){
|
||||
console.log('GoCyptoTrader website running! Enter http://localhost/ into browser');
|
||||
var port = process.env.GCT_WEB_PORT || 80;
|
||||
app.listen(port, function(){
|
||||
console.log(`GoCyptoTrader website running! Enter http://localhost:${port}/ into browser`);
|
||||
});
|
||||
Reference in New Issue
Block a user