diff --git a/files/helpers/markdown.py b/files/helpers/markdown.py index 55caa7432e..ef072ae92a 100644 --- a/files/helpers/markdown.py +++ b/files/helpers/markdown.py @@ -81,7 +81,7 @@ class CustomRenderer(HTMLRenderer): if not user: return f"{space}@{target}" - return f'''{space}@{username}'s profile picture@{user.username}''' + return f'''{space}@{user.username}'s profile picture@{user.username}''' def render_sub_mention(self, token): space = token.target[0] diff --git a/files/routes/static.py b/files/routes/static.py index d49033681f..1db18456a4 100644 --- a/files/routes/static.py +++ b/files/routes/static.py @@ -265,6 +265,7 @@ def static_service(path): @app.get('/hostedimages/') @limiter.exempt def images(path): + print('wtf') resp = make_response(send_from_directory('./images', path.replace('.WEBP','.webp'))) resp.headers.remove("Cache-Control") resp.headers.add("Cache-Control", "public, max-age=2628000")