Skip to content

Commit

Permalink
chore(deps): support flask>=2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
exzhawk committed Jul 10, 2023
1 parent c57cc51 commit 838671b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion disk_treemap/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def static_files(path):

@app.route('/size_tree.json')
def size_tree():
return send_file(size_tree_file_path, cache_timeout=-1)
return send_file(size_tree_file_path, max_age=-1)

@app.route('/info')
def get_info():
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def run(self):
'build_static': BuildStatic,
},
install_requires=[
'flask',
'flask>=2.0',
'tqdm',
'flask-compress',
'boto3',
Expand Down

0 comments on commit 838671b

Please sign in to comment.