Extra users path

merge-requests/30/head
Bob Mottram 2022-12-30 19:17:38 +00:00
parent d305bff9bd
commit fae91dca0e
1 changed files with 3 additions and 2 deletions

View File

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