Skip to content

Commit

Permalink
readme.md: updated CSP
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed Jan 13, 2017
1 parent b1b36cf commit b0e5a3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ Debugger::$strictMode = TRUE;

[![Notice rendered by Tracy](https://nette.github.io/tracy/images/tracy-notice.png)](https://nette.github.io/tracy/tracy-notice.html)

If your site uses Content Security Policy, you'll need to add `'unsafe-inline'` to `style-src`, and `'unsafe-inline'` & `'unsafe-eval'` to `script-src` for Tracy to work properly. Avoid adding these in production mode, if you can. Since version 2.4.0 Tracy also requires `'self'` (or the origin itself) in `script-src`.
If your site uses Content Security Policy, you'll need to add `'unsafe-inline'` to `style-src`, and `'self'` or `'nonce-<value>` to `script-src` for Tracy to work properly. Avoid adding `'unsafe-inline'` in production mode, if you can. Some 3rd plugins may require additional directives.


Production mode and error logging
Expand Down

0 comments on commit b0e5a3d

Please sign in to comment.