From 7878d397ea4345651c3e7a0c18241279c691af64 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Mon, 23 Aug 2021 12:24:20 +0200 Subject: [PATCH] sneed --- files/routes/static.py | 2 +- files/templates/default.html | 2 +- files/templates/submission.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/files/routes/static.py b/files/routes/static.py index 9f14e45e1..330987430 100644 --- a/files/routes/static.py +++ b/files/routes/static.py @@ -138,7 +138,7 @@ def static_service(path): resp.headers.add("Content-Type", "text/css") resp.headers.remove("Cache-Control") resp.headers.add("Cache-Control", "public, max-age=86400") - elif request.path.endswith('.gif') or request.path.endswith('.png') or request.path.endswith('.ttf') or request.path.endswith('.woff') or request.path.endswith('.woff2'): + elif request.path.endswith('.gif') or request.path.endswith('.ttf') or request.path.endswith('.woff') or request.path.endswith('.woff2'): resp.headers.remove("Cache-Control") resp.headers.add("Cache-Control", "public, max-age=31556952") diff --git a/files/templates/default.html b/files/templates/default.html index de62879aa..0922520b7 100644 --- a/files/templates/default.html +++ b/files/templates/default.html @@ -47,7 +47,7 @@