commit: 6b5791fda6fdf2efe39e1c05e3340a5cf970f312
parent 3250e59266eb552ba3ef120bb7e2465f79340e4f
Author: Henry Jameson <me@hjkos.com>
Date: Tue, 22 Mar 2022 19:20:12 +0200
fix other weird route
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/boot/routes.js b/src/boot/routes.js
@@ -46,7 +46,7 @@ export default (store) => {
{ name: 'bookmarks', path: '/bookmarks', component: BookmarkTimeline },
{ name: 'conversation', path: '/notice/:id', component: ConversationPage, meta: { dontScroll: true } },
{ name: 'remote-user-profile-acct',
- path: '/remote-users/(@?):username([^/@]+)@:hostname([^/@]+)',
+ path: '/remote-users/:_(@)?:username([^/@]+)@:hostname([^/@]+)',
component: RemoteUserResolver,
beforeEnter: validateAuthenticatedRoute
},