Escape @ in SSR routes

This commit is contained in:
Alex Gleason 2024-08-07 18:19:39 -05:00
parent 349f59cc70
commit 020736fd47
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7

View file

@ -34,9 +34,9 @@ interface StatusInfo {
/** URL routes to serve metadata on. */
const SSR_ROUTES = [
'/@:acct/posts/:statusId',
'/@:acct/:statusId',
'/@:acct',
'/\\@:acct/posts/:statusId',
'/\\@:acct/:statusId',
'/\\@:acct',
'/users/:acct/statuses/:statusId',
'/users/:acct',
'/statuses/:statusId',