From a75c3d7a3aa37eb9db4642c7aac334df3de1611c Mon Sep 17 00:00:00 2001 From: dangered wolf Date: Fri, 19 Apr 2024 14:23:52 -0400 Subject: [PATCH] Add /i/trending redirect --- src/realms/twitter/router.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/realms/twitter/router.ts b/src/realms/twitter/router.ts index d20a650..0d50a59 100644 --- a/src/realms/twitter/router.ts +++ b/src/realms/twitter/router.ts @@ -98,6 +98,7 @@ twitter.get('/owoembed', oembed); twitter.get('/robots.txt', async c => c.text(Strings.ROBOTS_TXT)); twitter.get('/i/events/:id', genericTwitterRedirect); +twitter.get('/i/trending/:id', genericTwitterRedirect); twitter.get('/hashtag/:hashtag', genericTwitterRedirect); twitter.get('/:handle/', _profileRequest);