Try handle Threads' link
This commit is contained in:
parent
f3895d09e3
commit
a75e816e6c
1 changed files with 1 additions and 0 deletions
|
@ -5,6 +5,7 @@ const statusPostRegexes = [
|
||||||
/^\/@[^@\/]+\/(?:statuses|posts)\/([^\/]+)/i, // GoToSocial, Takahe
|
/^\/@[^@\/]+\/(?:statuses|posts)\/([^\/]+)/i, // GoToSocial, Takahe
|
||||||
/\/notes\/([^\/]+)/i, // Misskey, Firefish
|
/\/notes\/([^\/]+)/i, // Misskey, Firefish
|
||||||
/^\/(?:notice|objects)\/([a-z0-9-]+)/i, // Pleroma
|
/^\/(?:notice|objects)\/([a-z0-9-]+)/i, // Pleroma
|
||||||
|
/\/@[^@\/]+\/post\/([^\/]+)/i, // Threads
|
||||||
/\/@[^@\/]+@?[^\/]+?\/([^\/]+)/i, // Mastodon
|
/\/@[^@\/]+@?[^\/]+?\/([^\/]+)/i, // Mastodon
|
||||||
/^\/p\/[^\/]+\/([^\/]+)/i, // Pixelfed
|
/^\/p\/[^\/]+\/([^\/]+)/i, // Pixelfed
|
||||||
];
|
];
|
||||||
|
|
Loading…
Add table
Reference in a new issue