mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +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 %}
|
||||
{% for filename in webpack_entry(entrypoint) -%}
|
||||
{% 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") -%}
|
||||
<script src="{{ filename }}" defer crossorigin="anonymous" {% if csp_nonce %}nonce="{{ csp_nonce }}"{% endif %}></script>
|
||||
{% endif -%}
|
||||
|
Reference in New Issue
Block a user