added backend for open mpv in electron version
This commit is contained in:
@@ -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;
|
||||
Reference in New Issue
Block a user