mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-02-16 07:11:15 +03:00
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
|
||||
/\/notes\/([^\/]+)/i, // Misskey, Firefish
|
||||
/^\/(?:notice|objects)\/([a-z0-9-]+)/i, // Pleroma
|
||||
/\/@[^@\/]+\/post\/([^\/]+)/i, // Threads
|
||||
/\/@[^@\/]+@?[^\/]+?\/([^\/]+)/i, // Mastodon
|
||||
/^\/p\/[^\/]+\/([^\/]+)/i, // Pixelfed
|
||||
];
|
||||
|
|
Loading…
Add table
Reference in a new issue