mirror of https://gitlab.com/bashrc2/epicyon
Additional statuses paths
parent
c4cbbfa073
commit
704ba91d0f
3
utils.py
3
utils.py
|
@ -1654,7 +1654,8 @@ def dangerous_svg(content: str, allow_local_network_access: bool) -> bool:
|
|||
def _get_statuses_list() -> []:
|
||||
"""Returns a list of statuses path strings
|
||||
"""
|
||||
return ('/statuses/', '/objects/', '/honk/', '/p/', '/h/', '/api/posts/')
|
||||
return ('/statuses/', '/objects/', '/honk/', '/p/', '/h/', '/api/posts/',
|
||||
'/notes/', '/comment/')
|
||||
|
||||
|
||||
def contains_statuses(url: str) -> bool:
|
||||
|
|
Loading…
Reference in New Issue