mirror of
https://gitlab.com/PronounsPage/PronounsPage.git
synced 2025-09-27 15:05:38 -04:00
Merge branch 'llib-pleroma-fixes' into 'main'
fix verifying pleroma urls See merge request Avris/Zaimki!228
This commit is contained in:
commit
1d9aeb6ad4
@ -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