Configurable webui port
@@ -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`);
});
\ No newline at end of file
