Fix issue with web sockets not working
This commit is contained in:
parent
dd200e3578
commit
a8c1761898
@ -178,7 +178,10 @@ getViewProgressWithWebSocketsR jobId = do
|
||||
wait = document.getElementById("wait"),
|
||||
conn;
|
||||
|
||||
url = url.replace("http:", "ws:").replace("https:", "wss:");
|
||||
var anchor_name_regex = /\#.*$/;
|
||||
url = url.replace("http:", "ws:").replace("https:", "wss:").replace(anchor_name_regex, "")
|
||||
|
||||
|
||||
conn = new WebSocket(url);
|
||||
|
||||
conn.onmessage = function(e) {
|
||||
|
Loading…
Reference in New Issue
Block a user