mirror of
				https://github.com/TitanEmbeds/Titan.git
				synced 2025-11-04 15:57:02 +01:00 
			
		
		
		
	Named the socketio endpoint to gateway
This commit is contained in:
		@@ -251,7 +251,7 @@
 | 
			
		||||
        }
 | 
			
		||||
        
 | 
			
		||||
        /* SocketIO Test */
 | 
			
		||||
        var socket = io.connect(location.protocol + '//' + document.domain + ':' + location.port + "/gateway");
 | 
			
		||||
        var socket = io.connect(location.protocol + '//' + document.domain + ':' + location.port + "/gateway", {path: '/gateway'});
 | 
			
		||||
        socket.on('connect', function() {
 | 
			
		||||
            console.log("Socket.IO Connected!");
 | 
			
		||||
        });
 | 
			
		||||
 
 | 
			
		||||
@@ -90,4 +90,4 @@ def bot_alive():
 | 
			
		||||
    return results
 | 
			
		||||
 | 
			
		||||
rate_limiter = Limiter(key_func=get_client_ipaddr) # Default limit by ip address
 | 
			
		||||
socketio = SocketIO()
 | 
			
		||||
socketio = SocketIO(path='gateway')
 | 
			
		||||
		Reference in New Issue
	
	Block a user