accept /media/v3 requests

master
lauren n. liberda 2023-04-21 16:44:47 +02:00
parent f53eef62de
commit 4bb9d239dd
No known key found for this signature in database
GPG Key ID: 734C629FD04BD319
1 changed files with 1 additions and 0 deletions

View File

@ -165,6 +165,7 @@ media.get('/thumbnail/:serverName/:mediaId', async (ctx) => {
});
router.use('/media/r0', media.routes(), media.allowedMethods());
router.use('/media/v3', media.routes(), media.allowedMethods());
koa.use(router.routes()).use(router.allowedMethods());
koa.listen(parseInt(LISTENING_PORT || '8009', 10));