From 594958c6dc2a69155c19bcd108f19fe9c64f98be Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Sat, 9 Mar 2024 10:35:23 -0600 Subject: Fix RSS URLs treated as internal (#3156) * Fix RSS URLs treated as internal * Add utils to patch relative RSS external links * modify router to support multiple paths --------- Co-authored-by: Hailey --- src/routes.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/routes.ts') diff --git a/src/routes.ts b/src/routes.ts index 3fc908b48..5c263fd6f 100644 --- a/src/routes.ts +++ b/src/routes.ts @@ -12,7 +12,7 @@ export const router = new Router({ ModerationModlists: '/moderation/modlists', ModerationMutedAccounts: '/moderation/muted-accounts', ModerationBlockedAccounts: '/moderation/blocked-accounts', - Profile: '/profile/:name', + Profile: ['/profile/:name', '/profile/:name/rss'], ProfileFollowers: '/profile/:name/followers', ProfileFollows: '/profile/:name/follows', ProfileList: '/profile/:name/lists/:rkey', -- cgit 1.4.1