chg: Properly rebuild cache

pull/156/head
Raphaël Vinot 2021-01-13 15:35:29 +01:00
parent 61baab1fbe
commit d4a2e68ceb
1 changed files with 1 additions and 1 deletions

View File

@ -317,7 +317,7 @@ def hide_capture(tree_uuid: str):
@app.route('/tree/<string:tree_uuid>/cache', methods=['GET']) @app.route('/tree/<string:tree_uuid>/cache', methods=['GET'])
def cache_tree(tree_uuid: str): def cache_tree(tree_uuid: str):
lookyloo.get_crawled_tree(tree_uuid) lookyloo.capture_cache(tree_uuid)
return redirect(url_for('index')) return redirect(url_for('index'))