Skip to content

Commit

Permalink
docs: Update README.md concerning CSP (nonce)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsip committed Dec 5, 2023
1 parent d7773da commit d93832d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,3 +109,7 @@ You can select one of six levels for heading.
}
}
```

## CSP support

If you're using Content Security Policy (CSP) pass a `nonce` via [`<meta property="csp-nonce" content={{ nonce }} />`](https://github.com/marco-prontera/vite-plugin-css-injected-by-js#usestrictcsp-boolean) in your document head.

0 comments on commit d93832d

Please sign in to comment.