fedimbed: guh
This commit is contained in:
parent
fc809c41f0
commit
46cd1569d0
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ const BSKY_POST_REGEX =
|
|||
/^\/profile\/(did:plc:[a-z0-9]+|(did:web:)?[a-z0-9][a-z0-9.-]+[a-z0-9]*)\/post\/([a-z0-9]+)\/?$/i;
|
||||
|
||||
const PATH_REGEX = {
|
||||
truthsocial: /^\/@(.+?)\/posts\/\d+\/?/i,
|
||||
truthsocial: /^\/@(.+?)\/posts\/(\d+)\/?/i,
|
||||
mastodon: /^\/@(.+?)\/([a-z0-9]+?)\/?/i,
|
||||
mastodon2: /^\/(.+?)\/statuses\/([a-z0-9]+?)\/?/i,
|
||||
pleroma: /^\/objects\/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}\/?/,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue