Hopefully fixed to crashpoints

This commit is contained in:
Kasper Rynning-Tønnesen
2017-09-25 16:54:50 +02:00
parent 9372bf3bf0
commit 5c78119a3a
2 changed files with 2 additions and 1 deletions

View File

@@ -368,6 +368,7 @@ function send_list(coll, socket, send, list_send, configs, shuffled)
} }
function end(obj, coll, guid, offline, socket) { function end(obj, coll, guid, offline, socket) {
var socketid = socket.zoff_id;
if(typeof(obj) !== 'object') { if(typeof(obj) !== 'object') {
return; return;
} }

View File

@@ -160,7 +160,7 @@ router.route('/').get(function(req, res, next){
res.render('layouts/frontpage', data); res.render('layouts/frontpage', data);
} }
} catch(e) { } catch(e) {
console.log(e); //console.log(e);
//res.redirect("https://zoff.me"); //res.redirect("https://zoff.me");
} }
}); });