mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-12-08 20:48:48 +00:00
Starting to work on some better pinging for usernames
This commit is contained in:
@@ -71,7 +71,9 @@ app.use(bodyParser.urlencoded({ // to support URL-encoded bodies
|
||||
app.use(cookieParser());
|
||||
|
||||
/* Starting DB and socketio */
|
||||
io = require('socket.io')(server, {'pingTimeout': 25000}); //, "origins": ("https://zoff.me:443*,https://zoff.me:8080*,zoff.me:8080*,https://remote.zoff.me:443*,https://remote.zoff.me:8080*,https://fb.zoff.me:443*,https://fb.zoff.me:8080*,https://admin.zoff.me:443*,https://admin.zoff.me:8080*" + add)});
|
||||
io = require('socket.io')(server, {
|
||||
pingTimeout: 25000,
|
||||
}); //, "origins": ("https://zoff.me:443*,https://zoff.me:8080*,zoff.me:8080*,https://remote.zoff.me:443*,https://remote.zoff.me:8080*,https://fb.zoff.me:443*,https://fb.zoff.me:8080*,https://admin.zoff.me:443*,https://admin.zoff.me:8080*" + add)});
|
||||
db = require('./handlers/db.js');
|
||||
var socketIO = require('./handlers/io.js');
|
||||
socketIO();
|
||||
|
||||
Reference in New Issue
Block a user