Users path

merge-requests/30/head
Bob Mottram 2022-12-16 14:49:50 +00:00
parent 82d4f9a691
commit 3dbfb7eb82
1 changed files with 2 additions and 2 deletions

View File

@ -1327,7 +1327,7 @@ def get_user_paths() -> []:
e.g. /users/nickname, /channel/nickname
"""
return ('/users/', '/profile/', '/accounts/', '/channel/', '/u/',
'/c/', '/video-channels/', '/author/')
'/c/', '/video-channels/', '/author/', '/activitypub/')
def get_group_paths() -> []:
@ -2263,7 +2263,7 @@ def _get_reserved_words() -> str:
'searchemoji', 'catalog', 'conversationId',
'mention', 'http', 'https', 'ipfs', 'ipns',
'ontologies', 'data', 'postedit', 'moved',
'inactive')
'inactive', 'activitypub')
def get_nickname_validation_pattern() -> str: