Try handle Threads' link

pull/698/head
Lim Chee Aun 2024-08-29 16:48:32 +08:00
rodzic f3895d09e3
commit a75e816e6c
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

@ -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
];