diff --git a/var/www/blueprints/crawler_splash.py b/var/www/blueprints/crawler_splash.py index b015b7c4..937ec732 100644 --- a/var/www/blueprints/crawler_splash.py +++ b/var/www/blueprints/crawler_splash.py @@ -306,10 +306,10 @@ def crawlers_last_domains_json(): stats.append(crawlers.get_crawlers_stats_by_day(date, domain_type)) return jsonify(stats) -@crawler_splash.route('/crawlers/last/domains/monthly/json') +@crawler_splash.route('/crawlers/last/domains/month/json') @login_required @login_read_only -def crawlers_last_domains_monthly_json(): +def crawlers_last_domains_month_json(): domain_type = request.args.get('type') if domain_type not in crawlers.get_crawler_all_types(): return jsonify({'error': 'Invalid domain type'}), 400 diff --git a/var/www/templates/crawler/crawler_splash/last_crawled.html b/var/www/templates/crawler/crawler_splash/last_crawled.html index eb756e08..66641848 100644 --- a/var/www/templates/crawler/crawler_splash/last_crawled.html +++ b/var/www/templates/crawler/crawler_splash/last_crawled.html @@ -102,6 +102,7 @@ +