Skip to content

Commit

Permalink
Remove nonce and allow unsafe inline styles
Browse files Browse the repository at this point in the history
  • Loading branch information
paulshryock committed Jul 13, 2024
1 parent bf58b52 commit c44bd24
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
[[headers]]
for = "/*"
[headers.values]
Content-Security-Policy = "default-src 'self' https://*.paulshryock.dev; style-src 'self' https://*.paulshryock.dev 'nonce-test'"
Content-Security-Policy = "default-src 'self' https://*.paulshryock.dev; style-src 'self' https://*.paulshryock.dev 'unsafe-inline'"
Cross-Origin-Embedder-Policy = "require-corp"
Cross-Origin-Opener-Policy = "same-origin"
Cross-Origin-Resource-Policy = "same-origin"
Expand Down
2 changes: 1 addition & 1 deletion src/includes/components/masthead.liquid
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<header class="masthead" nonce="test" style='--site-url-short: "{{ site.host }}"'>
<header class="masthead" style='--site-url-short: "{{ site.host }}"'>
<div class="branding">
{% if '/' == page.url %}
{% assign title_element = 'h1' %}
Expand Down

0 comments on commit c44bd24

Please sign in to comment.