mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2025-06-17 03:45:25 +02: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!");
|
||||
});
|
||||
|
Reference in New Issue
Block a user