1
0
mirror of https://github.com/SuperBFG7/ympd synced 2024-11-30 08:29:53 +00:00

Merge pull request #40 from iwanders/master

Change websocket URL to allow easy incorporation of different backends.
This commit is contained in:
Andy 2015-03-03 21:49:46 +01:00
commit 1268cab3b3

View File

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