mirror of
https://github.com/pretix/pretix.git
synced 2026-05-07 15:34:02 +00:00
CSP: Remove nonce
The nonce wasn't relied on because it broke Safari and having it in there forbids unsafe-inline, which breaks charts.
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
<link rel="stylesheet" type="text/x-scss" href="{% static "lightbox/css/lightbox.scss" %}" />
|
||||
{% endcompress %}
|
||||
{% if css_file %}
|
||||
<link rel="stylesheet" type="text/css" href="{{ css_file }}" nonce="{{ request.csp_nonce }}" />
|
||||
<link rel="stylesheet" type="text/css" href="{{ css_file }}" />
|
||||
{% else %}
|
||||
{% compress css %}
|
||||
<link rel="stylesheet" type="text/x-scss" href="{% static "pretixpresale/scss/main.scss" %}"/>
|
||||
|
||||
Reference in New Issue
Block a user