Добавлен basic-auth для opds

This commit is contained in:
Book Pauk
2022-11-24 20:37:35 +07:00
parent fd29532cf1
commit 74d8cd3f94
3 changed files with 23 additions and 1 deletions

View File

@@ -45,5 +45,11 @@ module.exports = {
host: '0.0.0.0',
port: '22380',
},
//opds: false,
opds: {
enabled: true,
user: '',
password: '',
},
};

View File

@@ -20,6 +20,7 @@ const propsToSave = [
'allowRemoteLib',
'remoteLib',
'server',
'opds',
];
let instance = null;