We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d7ecf8f commit 29d7c99Copy full SHA for 29d7c99
src/app_config.rs
@@ -265,7 +265,9 @@ pub struct AppConfig {
265
pub compress_responses: bool,
266
267
/// Content-Security-Policy header to send to the client.
268
- /// If not set, a default policy allowing scripts from the same origin is used and from jsdelivr.net
+ /// If not set, a default policy allowing
269
+ /// - scripts from the same origin,
270
+ /// - script elements with the `nonce="{{@csp_nonce}}"` attribute,
271
#[serde(default)]
272
pub content_security_policy: ContentSecurityPolicyTemplate,
273
0 commit comments