mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Making changes for cloudflare
This commit is contained in:
@@ -60,6 +60,9 @@ db.on('error',function(err) {
|
|||||||
});
|
});
|
||||||
|
|
||||||
io.on('connection', function(socket){
|
io.on('connection', function(socket){
|
||||||
|
|
||||||
|
console.log("connected");
|
||||||
|
|
||||||
socket.emit("get_list");
|
socket.emit("get_list");
|
||||||
|
|
||||||
var guid = hash_pass(socket.handshake.headers["user-agent"] + socket.handshake.address + socket.handshake.headers["accept-language"]);
|
var guid = hash_pass(socket.handshake.headers["user-agent"] + socket.handshake.address + socket.handshake.headers["accept-language"]);
|
||||||
|
|||||||
Reference in New Issue
Block a user