From ec076c05dbb3ace975b1687b5bf69c332c5eafe5 Mon Sep 17 00:00:00 2001 From: Antoine Goutenoir Date: Wed, 31 Mar 2021 22:17:30 +0200 Subject: [PATCH] fix: disable cache --- flaskr/controllers/main_controller.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flaskr/controllers/main_controller.py b/flaskr/controllers/main_controller.py index 0b5a3c6..a411ca5 100644 --- a/flaskr/controllers/main_controller.py +++ b/flaskr/controllers/main_controller.py @@ -29,7 +29,7 @@ from flaskr.core import ( get_emission_models, increment_hit_counter, ) -from flaskr.extensions import cache, send_email +from flaskr.extensions import send_email from flaskr.forms import EstimateForm from flaskr.geocoder import CachedGeocoder from flaskr.models import db, Estimation, StatusEnum, ScenarioEnum @@ -49,7 +49,7 @@ pi_email = "didier.barret@gmail.com" # todo: move to content YAML or .env @main.route('/favicon.ico') -@cache.cached(timeout=10000) +# @cache.cached(timeout=10000) def favicon(): # we want it served from the root, not from static/ return send_from_directory( join(main.root_path, '..', 'static', 'img'), -- libgit2 0.21.2