Custom channel emoticons WIP (#130): federation

This commit is contained in:
John Livingston
2024-06-06 18:04:17 +02:00
parent 3c65aa3fd3
commit 200d21d5a6
6 changed files with 58 additions and 4 deletions

View File

@ -42,6 +42,7 @@ export async function initEmojisRouter (
})
)
// Note: CORS is handled by Peertube.
router.get(
'/emojis/channel/:channelId/files/:fileName',
asyncMiddleware(async (req: Request, res: Response, _next: NextFunction): Promise<void> => {