aboutsummaryrefslogtreecommitdiff
path: root/qc_app/base_routes.py
diff options
context:
space:
mode:
Diffstat (limited to 'qc_app/base_routes.py')
-rw-r--r--qc_app/base_routes.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/qc_app/base_routes.py b/qc_app/base_routes.py
index dbfcf48..9023fec 100644
--- a/qc_app/base_routes.py
+++ b/qc_app/base_routes.py
@@ -13,3 +13,10 @@ def bootstrap(filename):
"""Fetch bootstrap files."""
return send_from_directory(
appenv(), f"share/genenetwork2/javascript/bootstrap/{filename}")
+
+
+@base.route("/jquery/<path:filename>")
+def jquery(filename):
+ """Fetch jquery files."""
+ return send_from_directory(
+ appenv(), f"share/genenetwork2/javascript/jquery/{filename}")