mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Handling cookie-ids somewhat diferrently on chromecasts
This commit is contained in:
@@ -6,7 +6,6 @@ var ObjectId = mongojs.ObjectId;
|
||||
var token_db = mongojs("tokens");
|
||||
var cookieParser = require("cookie-parser");
|
||||
var cookies = require("cookie");
|
||||
var cors = require('cors');
|
||||
|
||||
var toShowChannel = {
|
||||
start: 1,
|
||||
@@ -89,7 +88,7 @@ var error = {
|
||||
}
|
||||
}
|
||||
|
||||
router.use('/api/', cors(), function(req, res, next) {
|
||||
router.use(function(req, res, next) {
|
||||
next(); // make sure we go to the next routes and don't stop here
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user