mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Added logging for testing why/what urls crash the cookies
This commit is contained in:
@@ -112,7 +112,7 @@ app.use(function (req, res, next) {
|
|||||||
} else {
|
} else {
|
||||||
if (cookie === undefined) {
|
if (cookie === undefined) {
|
||||||
try {
|
try {
|
||||||
//console.error((new Date), "originalUrl", req.originalUrl);
|
console.error((new Date), "originalUrl", req.originalUrl);
|
||||||
//console.error((new Date), "couldn't fetch cookie for some reason, maybe no cookie exists?", req.get('origin'), "couldn't fetch cookie for some reason, maybe no cookie exists?");
|
//console.error((new Date), "couldn't fetch cookie for some reason, maybe no cookie exists?", req.get('origin'), "couldn't fetch cookie for some reason, maybe no cookie exists?");
|
||||||
|
|
||||||
} catch(e) {
|
} catch(e) {
|
||||||
|
|||||||
@@ -13,6 +13,7 @@ try {
|
|||||||
}
|
}
|
||||||
var startTime = 0;
|
var startTime = 0;
|
||||||
var small = false;
|
var small = false;
|
||||||
|
var small_player = false;
|
||||||
var full_playlist;
|
var full_playlist;
|
||||||
var hostMode = false;
|
var hostMode = false;
|
||||||
var soundcloud_enabled = true;
|
var soundcloud_enabled = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user