mirror of
https://gitlab.com/PronounsPage/PronounsPage.git
synced 2025-09-27 15:05:38 -04:00
fix verifying pleroma urls
This commit is contained in:
parent
adbd8063f3
commit
0b8da50606
@ -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',
|
||||
|
Loading…
x
Reference in New Issue
Block a user