mirror of https://github.com/CIRCL/AIL-framework
fix: [UI caching] avoid domain archive caching
parent
ebf87f71b3
commit
2ec96586eb
|
@ -13,7 +13,7 @@ import json
|
||||||
from pyfaup.faup import Faup
|
from pyfaup.faup import Faup
|
||||||
from flask import Flask, render_template, jsonify, request, send_file, Blueprint, redirect, url_for
|
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 flask_login import login_required
|
||||||
|
|
||||||
from Date import Date
|
from Date import Date
|
||||||
|
@ -819,6 +819,7 @@ def show_domain():
|
||||||
@hiddenServices.route("/crawlers/download_domain", methods=['GET'])
|
@hiddenServices.route("/crawlers/download_domain", methods=['GET'])
|
||||||
@login_required
|
@login_required
|
||||||
@login_analyst
|
@login_analyst
|
||||||
|
@no_cache
|
||||||
def download_domain():
|
def download_domain():
|
||||||
domain = request.args.get('domain')
|
domain = request.args.get('domain')
|
||||||
epoch = request.args.get('epoch')
|
epoch = request.args.get('epoch')
|
||||||
|
|
Loading…
Reference in New Issue