From 6536c7040c4cf60d26b43d00ae9209a2537899b8 Mon Sep 17 00:00:00 2001 From: simon Date: Tue, 29 Nov 2022 14:05:31 +0700 Subject: [PATCH] make send_from_directory compatible with latet flask --- tilefy/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tilefy/views.py b/tilefy/views.py index e5b26ad..f29f38e 100644 --- a/tilefy/views.py +++ b/tilefy/views.py @@ -49,5 +49,5 @@ def get_tile(tile_path): return send_from_directory( directory="/data/tiles", path=tile_path, - cache_timeout=60, + max_age=60, )