Replace ... on /sign

This commit is contained in:
Tanner Collin 2022-06-22 05:12:36 +00:00
parent 4d4e6cdae1
commit cc761c81a5

View File

@ -645,6 +645,7 @@ class StatsViewSet(viewsets.ViewSet, List):
sign = sign.replace('', '\'').replace('', '\'') sign = sign.replace('', '\'').replace('', '\'')
sign = sign.replace('', '"').replace('', '"') sign = sign.replace('', '"').replace('', '"')
sign = sign.replace('', '...')
if sign.startswith('https://') or sign.startswith('http://'): if sign.startswith('https://') or sign.startswith('http://'):
cache.set('link', sign) cache.set('link', sign)