mirror of
				https://github.com/SuperBFG7/ympd
				synced 2025-10-24 18:37:40 +00:00 
			
		
		
		
	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:
		| @@ -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) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Ivor Wanders
					Ivor Wanders