Tidying other modules, fixing password and fx

This commit is contained in:
Martin Donnelly 2017-09-11 16:30:22 +01:00
parent fdb10dcebe
commit 0a937198a4

View File

@ -4,12 +4,12 @@ const WEBSOCKET = function (model) {
const useUrl = 0;
if ('https:' === document.location.protocol) {
wsUrl = `wss://${ wsUrl[useUrl] }`;
wsUrl = `wss://${ wsUrl[1] }`;
wsPort = '';
}
else {
// wsUrl = 'ws://localhost:3001';
wsUrl = `ws://${ wsUrl[useUrl] }`;
wsUrl = `ws://${ wsUrl[0] }`;
wsPort = '9000';
}