mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
More trying and failing
This commit is contained in:
@@ -32,11 +32,10 @@ app.use(cookieParser());
|
||||
/* Starting DB and socketio */
|
||||
io = require('socket.io')({
|
||||
pingTimeout: 25000,
|
||||
path: '/zoff',
|
||||
}); //, "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)});
|
||||
//path: '/zoff',
|
||||
//"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*, http://localhost:8080*")});
|
||||
});
|
||||
db = require('./handlers/db.js');
|
||||
redis = require('socket.io-redis');
|
||||
io.adapter(redis({ host: 'localhost', port: 6379 }));
|
||||
var socketIO = require('./handlers/io.js');
|
||||
socketIO();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user