mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2024-12-23 21:47:04 +01:00
Named the socketio endpoint to gateway
This commit is contained in:
parent
6b3ada44db
commit
1be0177562
@ -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')
|
Loading…
Reference in New Issue
Block a user