support for novels and lot of formats for books
This commit is contained in:
@@ -7,9 +7,9 @@ async function localRoutes(fastify: FastifyInstance) {
|
||||
fastify.get('/library/:type/:id', controller.getEntry);
|
||||
fastify.get('/library/stream/:type/:id/:unit', controller.streamUnit);
|
||||
fastify.post('/library/:type/:id/match', controller.matchEntry);
|
||||
fastify.get('/library/:type/:id/units', controller.getUnits);
|
||||
fastify.get('/library/:type/cbz/:unitId/pages', controller.getCbzPages);
|
||||
fastify.get('/library/:type/cbz/:unitId/page/:page', controller.getCbzPage);
|
||||
fastify.get('/library/:id/units', controller.getUnits);
|
||||
fastify.get('/library/:unitId/manifest', controller.getManifest);
|
||||
fastify.get('/library/:unitId/resource/:resId', controller.getPage);
|
||||
}
|
||||
|
||||
export default localRoutes;
|
||||
Reference in New Issue
Block a user