added backend for open mpv in electron version

This commit is contained in:
2025-12-31 14:31:20 +01:00
parent 2afb9742b1
commit 47433733d0
2 changed files with 160 additions and 0 deletions

View File

@@ -9,6 +9,7 @@ async function animeRoutes(fastify: FastifyInstance) {
fastify.get('/search', controller.search);
fastify.get('/search/:extension', controller.searchInExtension);
fastify.get('/watch/stream', controller.getWatchStream);
fastify.post('/watch/mpv', controller.openInMPV);
}
export default animeRoutes;