Skip to content

Commit

Permalink
fix duplicate
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelWest22 authored Jul 18, 2024
1 parent c638e05 commit 1417788
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/safe-nonce/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Note It would be ideal to use the existing Content-Security-Policy header instea
| Config Variable | Info |
|---------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `htmx.config.safeInlineScriptNonce` | added by `safe-nonce` and should be set to the random nonce generated on each full page load when using this extension |
| `htmx.config.inlineScriptNonce` | disabled by `safe-nonce`, this setting is disabled by `safe-nonce` extension so it does not trust and replace script nonces for all replaced content |
| `htmx.config.inlineScriptNonce` | disabled by `safe-nonce`, so it does not trust and replace script nonces for all replaced content |
| `htmx.config.inlineSlyeNonce` | defaults to `''`, meaning that no nonce will be added to inline styles. Setting this to your random nonce will allow indicator styles to work with a strong style-src CSP header |
| `htmx.config.includeIndicatorStyles` | defaults to `true` (determines if the indicator styles are loaded) and this can be disabled instead of using `inlineStyleNonce` option |
| `htmx.config.refreshOnHistoryMiss` | normally defaults to `false`, but set `true` by safe-nonce so that htmx will issue a full page refresh on history misses rather than use an AJAX request which will not update script nonces correctly |
Expand Down

0 comments on commit 1417788

Please sign in to comment.