mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2024-12-24 14:07:03 +01:00
Named the socketio endpoint to gateway
This commit is contained in:
parent
6b3ada44db
commit
1be0177562
@ -251,7 +251,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* SocketIO Test */
|
/* 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() {
|
socket.on('connect', function() {
|
||||||
console.log("Socket.IO Connected!");
|
console.log("Socket.IO Connected!");
|
||||||
});
|
});
|
||||||
|
@ -90,4 +90,4 @@ def bot_alive():
|
|||||||
return results
|
return results
|
||||||
|
|
||||||
rate_limiter = Limiter(key_func=get_client_ipaddr) # Default limit by ip address
|
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