Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support stricter CSP with nonce (#411)
When Content-Security-Policy is set to `style-src 'self';`, inline styles are disallowed. An easy fix is to allow passing a nonce and move the inline style to a style block. Happy to discuss if you have any questions about this, or if there's a better approach! --------- Co-authored-by: Sergio Xalambrí <[email protected]>
- Loading branch information