mirror of https://gitlab.com/bashrc2/epicyon
Extra users path
parent
d305bff9bd
commit
fae91dca0e
5
utils.py
5
utils.py
|
@ -1376,7 +1376,8 @@ def get_user_paths() -> []:
|
||||||
e.g. /users/nickname, /channel/nickname
|
e.g. /users/nickname, /channel/nickname
|
||||||
"""
|
"""
|
||||||
return ('/users/', '/profile/', '/accounts/', '/channel/', '/u/',
|
return ('/users/', '/profile/', '/accounts/', '/channel/', '/u/',
|
||||||
'/c/', '/video-channels/', '/author/', '/activitypub/')
|
'/c/', '/video-channels/', '/author/', '/activitypub/',
|
||||||
|
'/actors/')
|
||||||
|
|
||||||
|
|
||||||
def get_group_paths() -> []:
|
def get_group_paths() -> []:
|
||||||
|
@ -2313,7 +2314,7 @@ def _get_reserved_words() -> str:
|
||||||
'searchemoji', 'catalog', 'conversationId',
|
'searchemoji', 'catalog', 'conversationId',
|
||||||
'mention', 'http', 'https', 'ipfs', 'ipns',
|
'mention', 'http', 'https', 'ipfs', 'ipns',
|
||||||
'ontologies', 'data', 'postedit', 'moved',
|
'ontologies', 'data', 'postedit', 'moved',
|
||||||
'inactive', 'activitypub')
|
'inactive', 'activitypub', 'actors')
|
||||||
|
|
||||||
|
|
||||||
def get_nickname_validation_pattern() -> str:
|
def get_nickname_validation_pattern() -> str:
|
||||||
|
|
Loading…
Reference in New Issue