Skip to content

Commit

Permalink
reset components url
Browse files Browse the repository at this point in the history
  • Loading branch information
netzkollektiv committed Oct 2, 2024
1 parent 27a9198 commit 6cdaf34
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions src/Resources/views/administration/index.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@
{% block administration_favicons %}
{{ parent() }}

<script nonce="{{ cspNonce }}" type="module" src="https://invoice.easycredit-ratenkauf-webcomponents.pages.dev/easycredit-components/easycredit-components.esm.js"></script>
<script nonce="{{ cspNonce }}" nomodule src="https://invoice.easycredit-ratenkauf-webcomponents.pages.dev/easycredit-components/easycredit-components.js"></script>
<script nonce="{{ cspNonce }}" type="module" src="https://ratenkauf.easycredit.de/api/resource/webcomponents/v3/easycredit-components/easycredit-components.esm.js"></script>

{# The following global variable was introduced in Webpack configuration of sw 6.5 - fixes webpack build for ealier sw versions #}
<script nonce="{{ cspNonce }}" type="text/javascript">
Expand Down
2 changes: 1 addition & 1 deletion src/Resources/views/storefront/base.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
{{ parent() }}

{% if page.extensions.easycredit %}
<script type="module" src="https://invoice.easycredit-ratenkauf-webcomponents.pages.dev/easycredit-components/easycredit-components.esm.js" defer></script>
<script type="module" src="https://ratenkauf.easycredit.de/api/resource/webcomponents/v3/easycredit-components/easycredit-components.esm.js" defer></script>
{% endif %}

{% endblock %}
2 changes: 1 addition & 1 deletion src/Resources/views/storefront/layout/meta.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
{{ parent() }}

{% if page.extensions.easycredit %}
<script type="module" src="https://invoice.easycredit-ratenkauf-webcomponents.pages.dev/easycredit-components/easycredit-components.esm.js" defer></script>
<script type="module" src="https://ratenkauf.easycredit.de/api/resource/webcomponents/v3/easycredit-components/easycredit-components.esm.js" defer></script>
{% endif %}

{% endblock %}

0 comments on commit 6cdaf34

Please sign in to comment.