mirror of
				https://github.com/KevinMidboe/zoff.git
				synced 2025-10-29 18:00:23 +00:00 
			
		
		
		
	Made major improvements to embedded player, added option for making server force clients to fully refresh, and added some more failsafes for the server
This commit is contained in:
		@@ -20,6 +20,9 @@ $(document).ready(function (){
 | 
			
		||||
    if(window.location.hostname == "remote.zoff.me") add = "https://zoff.me";
 | 
			
		||||
    else add = "localhost";
 | 
			
		||||
    socket = io.connect(add+':8080', connection_options);
 | 
			
		||||
    socket.on('update_required', function() {
 | 
			
		||||
      window.location.reload(true);
 | 
			
		||||
    });
 | 
			
		||||
    id = window.location.pathname.split("/")[1];
 | 
			
		||||
    if(id)
 | 
			
		||||
    {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user