mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-26 15:57:16 +00:00
chg: [crawlers] add endpoints to reset captures
This commit is contained in:
parent
e51ee7ab55
commit
d376612d51
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ def crawler_dashboard_json():
|
||||||
@crawler_splash.route("/crawlers/dashboard/captures/delete", methods=['GET'])
|
@crawler_splash.route("/crawlers/dashboard/captures/delete", methods=['GET'])
|
||||||
@login_required
|
@login_required
|
||||||
@login_admin
|
@login_admin
|
||||||
def crawlers_dashboard():
|
def crawlers_dashboard_captures_delete():
|
||||||
crawlers.delete_captures()
|
crawlers.delete_captures()
|
||||||
return redirect(url_for('crawler_splash.crawlers_dashboard'))
|
return redirect(url_for('crawler_splash.crawlers_dashboard'))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue