Browse Source

Recover auth code

v2
Xose Pérez 6 years ago
parent
commit
f58f625303
1 changed files with 0 additions and 4 deletions
  1. +0
    -4
      code/html/custom.js

+ 0
- 4
code/html/custom.js View File

@ -1436,14 +1436,12 @@ function connectToURL(url) {
initUrls(url);
/*
$.ajax({
'method': 'GET',
'crossDomain': true,
'url': urls.auth.href,
'xhrFields': { 'withCredentials': true }
}).done(function(data) {
*/
if (websock) { websock.close(); }
websock = new WebSocket(urls.ws.href);
websock.onmessage = function(evt) {
@ -1452,11 +1450,9 @@ function connectToURL(url) {
processData(data);
}
};
/*
}).fail(function() {
// Nothing to do, reload page and retry
});
*/
}


Loading…
Cancel
Save