fix verifying pleroma urls
This commit is contained in:
parent
967b7fe3dd
commit
845d3624b2
|
@ -2,7 +2,7 @@ export const socialProviders = {
|
||||||
mastodon: {
|
mastodon: {
|
||||||
name: 'Mastodon',
|
name: 'Mastodon',
|
||||||
instanceRequired: true,
|
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: {
|
twitter: {
|
||||||
name: 'Twitter',
|
name: 'Twitter',
|
||||||
|
|
Reference in New Issue