From 3a6334d9773a2495739d28d59ca0a50adcef1b37 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sat, 11 Dec 2021 19:48:06 +0200 Subject: [PATCH] sdfsdf --- files/routes/static.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/static.py b/files/routes/static.py index 1db18456a4..cce0c6f3fc 100644 --- a/files/routes/static.py +++ b/files/routes/static.py @@ -266,7 +266,7 @@ def static_service(path): @limiter.exempt def images(path): print('wtf') - resp = make_response(send_from_directory('./images', path.replace('.WEBP','.webp'))) + 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") if request.path.endswith('.webp'):