full enhance of anime page and player.

This commit is contained in:
2025-12-31 02:05:10 +01:00
parent a4ff19c3d7
commit 2afb9742b1
23 changed files with 3900 additions and 4443 deletions

View File

@@ -112,12 +112,6 @@ async function viewsRoutes(fastify: FastifyInstance) {
reply.type('text/html').send(html);
});
fastify.get('/watch/:id/:episode', (req: FastifyRequest, reply: FastifyReply) => {
const htmlPath = path.join(__dirname, '..', '..', 'views', 'anime', 'watch.html');
const html = fs.readFileSync(htmlPath, 'utf-8');
reply.type('text/html').send(html);
});
fastify.get('/book/:id', (req: FastifyRequest, reply: FastifyReply) => {
const htmlPath = path.join(__dirname, '..', '..', 'views', 'books', 'book.html');
const html = fs.readFileSync(htmlPath, 'utf-8');