mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-22 22:27:17 +00:00
fix: [UI caching] avoid domain archive caching
This commit is contained in:
parent
ebf87f71b3
commit
2ec96586eb
1 changed files with 2 additions and 1 deletions
|
@ -13,7 +13,7 @@ import json
|
|||
from pyfaup.faup import Faup
|
||||
from flask import Flask, render_template, jsonify, request, send_file, Blueprint, redirect, url_for
|
||||
|
||||
from Role_Manager import login_admin, login_analyst
|
||||
from Role_Manager import login_admin, login_analyst, no_cache
|
||||
from flask_login import login_required
|
||||
|
||||
from Date import Date
|
||||
|
@ -819,6 +819,7 @@ def show_domain():
|
|||
@hiddenServices.route("/crawlers/download_domain", methods=['GET'])
|
||||
@login_required
|
||||
@login_analyst
|
||||
@no_cache
|
||||
def download_domain():
|
||||
domain = request.args.get('domain')
|
||||
epoch = request.args.get('epoch')
|
||||
|
|
Loading…
Reference in a new issue