#45 add extra_scripts to cache_status page

This commit is contained in:
Alok Saldanha
2021-04-20 13:17:37 -04:00
parent d072034911
commit ccf1ba58a8
+5 -1
View File
@@ -217,7 +217,11 @@ def do_view(path, source_name=None):
@app.route("/cache_status", methods=["GET"])
def do_GET_status():
return render_template("cache_status.html", entry_list=cache.entry_list)
return render_template(
"cache_status.html",
entry_list=cache.entry_list,
extra_scripts=get_extra_scripts(),
)
@app.route("/cache_status.json", methods=["GET"])