diff --git a/src/socialProviders.js b/src/socialProviders.js index 35e568cf..8a6343d2 100644 --- a/src/socialProviders.js +++ b/src/socialProviders.js @@ -2,7 +2,7 @@ export const socialProviders = { mastodon: { name: 'Mastodon', instanceRequired: true, - linkRegex: (p) => `^https?://(?:www.)?${p.name.split('@')[1]}/(?:web/)?@${p.name.split('@')[0]}/?$`, + linkRegex: (p) => `^https?://(?:www.)?${p.name.split('@')[1]}/(?:(?:web/)?@|users/)?${p.name.split('@')[0]}/?$`, }, twitter: { name: 'Twitter',