Changes URL used for the websocket.

This change allows easier implementation of different backends because the websocket URL isn't identical to the webpage URL. This does not affect the functionality of the default C backend.
This commit is contained in:
Ivor Wanders 2014-11-02 14:29:43 +01:00
parent 9728aae69c
commit a5a4ac9461
1 changed files with 2 additions and 2 deletions

View File

@ -419,9 +419,9 @@ function get_appropriate_ws_url()
u = u.substr(7);
}
u = u.split('/');
u = u.split('#');
return pcol + u[0];
return pcol + u[0] + "/ws";
}
var updateVolumeIcon = function(volume)