Skip to content

Commit

Permalink
finally got icons working
Browse files Browse the repository at this point in the history
  • Loading branch information
nboyse committed Feb 19, 2024
1 parent 81153ad commit 740623b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion reports/jinja2/generics/table.jinja
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% from "components/table/macro.njk" import govukTable -%}
{% if report.headers_list -%}
{% if report.headers_list -%}
<script nonce="{{ request.csp_nonce }}" src="{{ static('common/js/ag-grid-community.min.js') }}" async></script>
<script nonce="{{ request.csp_nonce }}">
document.addEventListener('DOMContentLoaded', function () {
Expand Down
2 changes: 1 addition & 1 deletion settings/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@
"https://www.googletagmanager.com/",
"ajax.googleapis.com/",
)
CSP_FONT_SRC = ("'self'", "'unsafe-inline'")
CSP_FONT_SRC = ("'self'", "'unsafe-inline'", "data:")
CSP_INCLUDE_NONCE_IN = ("script-src",)
CSP_REPORT_ONLY = False

Expand Down

0 comments on commit 740623b

Please sign in to comment.