remove # from socket url...

This commit is contained in:
Ralf Teusner
2017-02-03 18:29:22 +01:00
parent 2d5125dfa2
commit 0ddcf3a5bb

View File

@ -6,7 +6,8 @@ CodeOceanEditorWebsocket = {
sockURL.pathname = url;
sockURL.protocol = '<%= DockerClient.config['ws_client_protocol'] %>';
return sockURL.toString();
//return the URL, but strip last # if there is one...
return sockURL.toString().replace(/#$/,'');
},
initializeSocket: function(url) {