mirror of
https://github.com/cheeaun/phanpy.git
synced 2024-11-26 03:05:41 +03:00
Render Misskey and Calckey QTs too
This commit is contained in:
parent
841737242f
commit
2b4efc6f04
1 changed files with 4 additions and 1 deletions
|
@ -1,3 +1,6 @@
|
|||
export default function isMastodonLinkMaybe(url) {
|
||||
return /^https:\/\/.*\/\d+$/i.test(url);
|
||||
return (
|
||||
/^https:\/\/.*\/\d+$/i.test(url) ||
|
||||
/^https:\/\/.*\/notes\/[a-z0-9]+$/i.test(url) // Misskey, Calckey
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue