Commit 3ee4fd025f68e8e55f466225231bdbd07fe9b130
1 parent
3be97de0
Exists in
master
fix: disable cache
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
flaskr/controllers/main_controller.py
@@ -29,7 +29,7 @@ from flaskr.core import ( | @@ -29,7 +29,7 @@ from flaskr.core import ( | ||
29 | get_emission_models, | 29 | get_emission_models, |
30 | increment_hit_counter, | 30 | increment_hit_counter, |
31 | ) | 31 | ) |
32 | -from flaskr.extensions import cache, send_email | 32 | +from flaskr.extensions import send_email |
33 | from flaskr.forms import EstimateForm | 33 | from flaskr.forms import EstimateForm |
34 | from flaskr.geocoder import CachedGeocoder | 34 | from flaskr.geocoder import CachedGeocoder |
35 | from flaskr.models import db, Estimation, StatusEnum, ScenarioEnum | 35 | 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 | @@ -49,7 +49,7 @@ pi_email = "didier.barret@gmail.com" # todo: move to content YAML or .env | ||
49 | 49 | ||
50 | 50 | ||
51 | @main.route('/favicon.ico') | 51 | @main.route('/favicon.ico') |
52 | -@cache.cached(timeout=10000) | 52 | +# @cache.cached(timeout=10000) |
53 | def favicon(): # we want it served from the root, not from static/ | 53 | def favicon(): # we want it served from the root, not from static/ |
54 | return send_from_directory( | 54 | return send_from_directory( |
55 | join(main.root_path, '..', 'static', 'img'), | 55 | join(main.root_path, '..', 'static', 'img'), |