Skip to content

Commit

Permalink
README: Add CSP nonce notes
Browse files Browse the repository at this point in the history
  • Loading branch information
jnvsor committed Aug 27, 2024
1 parent c60934c commit 73c8479
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ Kint::$enabled_mode = false; // Disable kint
d('Get off my lawn!'); // Debugs no longer have any effect
```

You can set `Kint\Renderer\AbstractRenderer::$js_nonce` and `$css_nonce` to have Kint work with CSP

There's a small demo and full documentation on [the GH pages site](https://kint-php.github.io/kint/)

## Authors
Expand Down

0 comments on commit 73c8479

Please sign in to comment.