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:
commit
1268cab3b3
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user