mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-27 08:17:17 +00:00
fix: [hiddenServices] typo
This commit is contained in:
parent
46c1105483
commit
c4c3810037
2 changed files with 3 additions and 3 deletions
|
@ -105,8 +105,8 @@ def hiddenServices_page():
|
||||||
date_string = '{}-{}-{}'.format(date[0:4], date[4:6], date[6:8])
|
date_string = '{}-{}-{}'.format(date[0:4], date[4:6], date[6:8])
|
||||||
return render_template("hiddenServices.html", last_onions=list_onion, statDomains=statDomains, date_from=date_string, date_to=date_string)
|
return render_template("hiddenServices.html", last_onions=list_onion, statDomains=statDomains, date_from=date_string, date_to=date_string)
|
||||||
|
|
||||||
@hiddenServices.route("/hiddenServices/last_crawled_domains_with_stats_jon", methods=['GET'])
|
@hiddenServices.route("/hiddenServices/last_crawled_domains_with_stats_json", methods=['GET'])
|
||||||
def last_crawled_domains_with_stats_jon():
|
def last_crawled_domains_with_stats_json():
|
||||||
last_onions = r_serv_onion.lrange('last_onion', 0 ,-1)
|
last_onions = r_serv_onion.lrange('last_onion', 0 ,-1)
|
||||||
list_onion = []
|
list_onion = []
|
||||||
|
|
||||||
|
|
|
@ -354,7 +354,7 @@ d3.json(url)
|
||||||
|
|
||||||
function refresh_list_crawled(){
|
function refresh_list_crawled(){
|
||||||
|
|
||||||
$.getJSON("{{ url_for('hiddenServices.last_crawled_domains_with_stats_jon') }}",
|
$.getJSON("{{ url_for('hiddenServices.last_crawled_domains_with_stats_json') }}",
|
||||||
function(data) {
|
function(data) {
|
||||||
|
|
||||||
var tableRef = document.getElementById('tbody_last_crawled');
|
var tableRef = document.getElementById('tbody_last_crawled');
|
||||||
|
|
Loading…
Reference in a new issue