From f7e805ea9180e3338f8e077edc0264abdd3420fb Mon Sep 17 00:00:00 2001 From: dangered wolf Date: Sun, 21 Aug 2022 02:34:31 -0400 Subject: [PATCH] Revert "Redirect Favicon requests to Twitter" This reverts commit 1e637b064d741700ea34a2360227a0da6003ff4a. --- src/server.ts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/server.ts b/src/server.ts index e619da5..c844425 100644 --- a/src/server.ts +++ b/src/server.ts @@ -251,11 +251,6 @@ export const cacheWrapper = async ( }); } - /* Redirect Favicon to Twitter's */ - if (cacheUrl.pathname === '/favicon.ico') { - return Response.redirect(`${Constants.TWITTER_ROOT}/favicon.ico`, 302); - } - /* Some TwitFix APIs will never be available in FixTweet for privacy or design choice reasons.