diff --git a/website/common/templatetags/sri.py b/website/common/templatetags/sri.py index 3582ded..c8c9b02 100644 --- a/website/common/templatetags/sri.py +++ b/website/common/templatetags/sri.py @@ -30,7 +30,7 @@ def attrs_to_str(attrs): def sri_js(url): path = os.path.join(settings.STATIC_ROOT, url) attrs = { - "href": static(url), + "src": static(url), "type": "text/javascript", "integrity": generate_sha256(path), "crossorigin": "anonymous",