kopia lustrzana https://github.com/cheeaun/phanpy
Test support Hollo
rodzic
cb9848fe8c
commit
a72400febf
|
|
@ -7,6 +7,7 @@ export default function isMastodonLinkMaybe(url) {
|
|||
/^\/notes\/[a-z0-9]+$/i.test(pathname) || // Misskey, Firefish
|
||||
/^\/(notice|objects)\/[a-z0-9-]+$/i.test(pathname) || // Pleroma
|
||||
/^\/@[^/]+\/post\/[a-z0-9]+$/i.test(pathname) || // Threads
|
||||
/^\/@[^/]+\/[a-z0-9]+[a-z0-9\-]+[a-z0-9]+$/i.test(pathname) || // Hollo
|
||||
/#\/[^\/]+\.[^\/]+\/s\/.+/i.test(hash) // Phanpy 🫣
|
||||
);
|
||||
} catch (e) {
|
||||
|
|
|
|||
Ładowanie…
Reference in New Issue