Merge branch 'llib-pleroma-fixes' into 'main'

fix verifying pleroma urls

See merge request Avris/Zaimki!228
This commit is contained in:
Avris 2021-12-15 20:53:48 +00:00
commit 408e38b60b
1 changed files with 1 additions and 1 deletions

View File

@ -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',