diff --git a/server/core/opds/index.js b/server/core/opds/index.js index a2347d7..f2a244e 100644 --- a/server/core/opds/index.js +++ b/server/core/opds/index.js @@ -74,7 +74,12 @@ module.exports = function(app, config) { if (config.opds.password) { if (!config.opds.user) throw new Error('User must not be empty if password set'); - +/* + app.use((req, res, next) => { + console.log(req.headers); + next(); + }); +*/ app.use(opdsPaths, basicAuth({ users: {[config.opds.user]: config.opds.password}, challenge: true,