From 3a315dc9dc9531c012ea78f37eb70c424513bc98 Mon Sep 17 00:00:00 2001 From: dangered wolf Date: Mon, 21 Nov 2022 01:14:07 -0500 Subject: [PATCH] Add generic redirect for /hashtag (fix #127) --- src/server.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/server.ts b/src/server.ts index 73ebca1..2c09b7b 100644 --- a/src/server.ts +++ b/src/server.ts @@ -247,6 +247,7 @@ router.get('/owoembed', async (request: Request) => { router.get('/:handle', profileRequest); router.get('/:handle/', profileRequest); router.get('/i/events/:id', genericTwitterRedirect); +router.get('/hashtag/:hashtag', genericTwitterRedirect); /* If we don't understand the route structure at all, we'll redirect to GitHub (normal domains) or API docs (api.fxtwitter.com) */