fix verifying pleroma urls
This commit is contained in:
parent
967b7fe3dd
commit
845d3624b2
|
@ -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',
|
||||
|
|
Reference in New Issue