Tidying other modules, fixing password and fx
This commit is contained in:
parent
fdb10dcebe
commit
0a937198a4
@ -4,12 +4,12 @@ const WEBSOCKET = function (model) {
|
|||||||
const useUrl = 0;
|
const useUrl = 0;
|
||||||
|
|
||||||
if ('https:' === document.location.protocol) {
|
if ('https:' === document.location.protocol) {
|
||||||
wsUrl = `wss://${ wsUrl[useUrl] }`;
|
wsUrl = `wss://${ wsUrl[1] }`;
|
||||||
wsPort = '';
|
wsPort = '';
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
// wsUrl = 'ws://localhost:3001';
|
// wsUrl = 'ws://localhost:3001';
|
||||||
wsUrl = `ws://${ wsUrl[useUrl] }`;
|
wsUrl = `ws://${ wsUrl[0] }`;
|
||||||
wsPort = '9000';
|
wsPort = '9000';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user