make send_from_directory compatible with latet flask

This commit is contained in:
simon 2022-11-29 14:05:31 +07:00
parent d63369b620
commit 6536c7040c
Signed by: simon
GPG Key ID: 2C15AA5E89985DD4
1 changed files with 1 additions and 1 deletions

View File

@ -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,
)