Test support Hollo

This commit is contained in:
Lim Chee Aun 2024-07-05 16:19:04 +08:00
parent cb9848fe8c
commit a72400febf

View file

@ -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) {