[ADD] django-sri to provide integrity hashes for local static files

This commit is contained in:
Peter Pfeufer
2025-01-02 16:54:37 +01:00
parent 7033406ba6
commit 0f057ffa84
13 changed files with 29 additions and 23 deletions

View File

@@ -1,3 +1,3 @@
{% load static %}
{% load sri %}
<link href="{% static 'allianceauth/css/auth-base.css' %}" rel="stylesheet">
{% sri_static 'allianceauth/css/auth-base.css' %}