From a891d033096fed3a48c2956f62193bf263ee3912 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Mon, 13 Dec 2021 23:52:58 +0200 Subject: [PATCH] dsffds --- 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 e20d847c3..bce975c65 100644 --- a/files/routes/static.py +++ b/files/routes/static.py @@ -249,7 +249,7 @@ def archives(path): @app.get('/static/') @limiter.exempt -def static_service(path): +def static_service2(path): resp = make_response(send_from_directory('./static', path)) if request.path.endswith('.webp') or request.path.endswith('.gif') or request.path.endswith('.ttf') or request.path.endswith('.woff') or request.path.endswith('.woff2'): resp.headers.remove("Cache-Control")