multi language support for books and book page redesigned

This commit is contained in:
2025-12-31 17:57:33 +01:00
parent 20261159a4
commit 1e144c4bad
14 changed files with 1687 additions and 1917 deletions

View File

@@ -101,12 +101,14 @@ export async function getChapterContent(req: any, reply: FastifyReply) {
try {
const { bookId, chapter, provider } = req.params;
const source = req.query.source || 'anilist';
const lang = req.query.lang || 'none';
const content = await booksService.getChapterContent(
bookId,
chapter,
provider,
source
source,
lang
);
return reply.send(content);