Работа над opds
This commit is contained in:
21
server/core/opds/AuthorPage.js
Normal file
21
server/core/opds/AuthorPage.js
Normal file
@@ -0,0 +1,21 @@
|
||||
const BasePage = require('./BasePage');
|
||||
|
||||
class AuthorPage extends BasePage {
|
||||
constructor(config) {
|
||||
super(config);
|
||||
|
||||
this.id = 'author';
|
||||
this.title = 'Авторы';
|
||||
}
|
||||
|
||||
async body() {
|
||||
const result = {};
|
||||
|
||||
result.entry = [
|
||||
];
|
||||
|
||||
return this.makeBody(result);
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = AuthorPage;
|
||||
Reference in New Issue
Block a user