New feature added: Games automatically saved in database after game
ends in pgn format
This commit is contained in:
@@ -25,7 +25,6 @@ function checkAuthMiddleware(req, res, next) {
|
||||
if (req.method === "OPTIONS") {
|
||||
return next();
|
||||
}
|
||||
console.log(req.headers)
|
||||
if (!req.headers.authorization) {
|
||||
console.log("NOT AUTH. AUTH HEADER MISSING.");
|
||||
return next(new NotAuthError("Not authenticated."));
|
||||
|
||||
Reference in New Issue
Block a user