mirror of https://github.com/bbilly1/tilefy.git
make send_from_directory compatible with latet flask
This commit is contained in:
parent
d63369b620
commit
6536c7040c
|
@ -49,5 +49,5 @@ def get_tile(tile_path):
|
||||||
return send_from_directory(
|
return send_from_directory(
|
||||||
directory="/data/tiles",
|
directory="/data/tiles",
|
||||||
path=tile_path,
|
path=tile_path,
|
||||||
cache_timeout=60,
|
max_age=60,
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue