about summary refs log tree commit diff
path: root/src/routes.ts
diff options
context:
space:
mode:
authorEric Bailey <git@esb.lol>2024-03-09 10:35:23 -0600
committerGitHub <noreply@github.com>2024-03-09 10:35:23 -0600
commit594958c6dc2a69155c19bcd108f19fe9c64f98be (patch)
tree72180011d9d227f24c3eb47df79bd5567357c718 /src/routes.ts
parentaad8c080eda81ad96875c817420d719a8c80874f (diff)
downloadvoidsky-594958c6dc2a69155c19bcd108f19fe9c64f98be.tar.zst
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 <me@haileyok.com>
Diffstat (limited to 'src/routes.ts')
-rw-r--r--src/routes.ts2
1 files changed, 1 insertions, 1 deletions
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',