Работа над opds

This commit is contained in:
Book Pauk
2022-11-23 19:17:08 +07:00
parent cac8e7c721
commit 6a3b919f5f
4 changed files with 109 additions and 19 deletions

View File

@@ -1,5 +1,6 @@
const RootPage = require('./RootPage');
const AuthorPage = require('./AuthorPage');
const GenrePage = require('./GenrePage');
const BookPage = require('./BookPage');
module.exports = function(app, config) {
@@ -8,12 +9,14 @@ module.exports = function(app, config) {
const root = new RootPage(config);
const author = new AuthorPage(config);
const genre = new GenrePage(config);
const book = new BookPage(config);
const routes = [
['', root],
['/root', root],
['/author', author],
['/genre', genre],
['/book', book],
];