mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 13:33:24 +00:00
Revert "webpack: Use CORS requests for stylesheets."
This reverts commit bdd11577bf (#34359).
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Anders Kaseorg
parent
7ff6460d4b
commit
0f2f795fe0
@@ -30,7 +30,7 @@
|
|||||||
{% block webpack %}
|
{% block webpack %}
|
||||||
{% for filename in webpack_entry(entrypoint) -%}
|
{% for filename in webpack_entry(entrypoint) -%}
|
||||||
{% if filename.endswith(".css") -%}
|
{% if filename.endswith(".css") -%}
|
||||||
<link href="{{ filename }}" rel="stylesheet" crossorigin="anonymous" {% if csp_nonce %}nonce="{{ csp_nonce }}"{% endif %} />
|
<link href="{{ filename }}" rel="stylesheet" {% if csp_nonce %}nonce="{{ csp_nonce }}"{% endif %} />
|
||||||
{% elif filename.endswith(".js") -%}
|
{% elif filename.endswith(".js") -%}
|
||||||
<script src="{{ filename }}" defer crossorigin="anonymous" {% if csp_nonce %}nonce="{{ csp_nonce }}"{% endif %}></script>
|
<script src="{{ filename }}" defer crossorigin="anonymous" {% if csp_nonce %}nonce="{{ csp_nonce }}"{% endif %}></script>
|
||||||
{% endif -%}
|
{% endif -%}
|
||||||
|
|||||||
Reference in New Issue
Block a user