Skip to content

Commit

Permalink
chore: update references to "main.min.js" to "index.min.js"
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewleith committed Jan 20, 2025
1 parent defd008 commit 30610ab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/templates/notify_template.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
{% include 'partials/cds_ascii_art.html' %}
{% include 'partials/google-tag-manager-body.html' %}
{% block main_content %}{% endblock %}
<script nonce="{{ request_nonce }}" type="text/javascript" src="{{ asset_url('javascripts/main.min.js') }}"></script>
<script nonce="{{ request_nonce }}" type="text/javascript" src="{{ asset_url('javascripts/index.min.js') }}"></script>
<script nonce="{{ request_nonce }}" type="text/javascript" src="{{ asset_url('javascripts/all.min.js') }}"></script>
</body>
</html>
2 changes: 1 addition & 1 deletion tests/app/main/views/test_headers.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def test_owasp_useful_headers_set(client, mocker, mock_get_service_and_organisat
"public, max-age=31536000, immutable",
),
(
"javascripts/main.min.js",
"javascripts/index.min.js",
True,
"public, max-age=31536000, immutable",
),
Expand Down

0 comments on commit 30610ab

Please sign in to comment.