Skip to content

Commit 29d7c99

Browse files
committed
fix docs
1 parent d7ecf8f commit 29d7c99

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/app_config.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,9 @@ pub struct AppConfig {
265265
pub compress_responses: bool,
266266

267267
/// 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
268+
/// If not set, a default policy allowing
269+
/// - scripts from the same origin,
270+
/// - script elements with the `nonce="{{@csp_nonce}}"` attribute,
269271
#[serde(default)]
270272
pub content_security_policy: ContentSecurityPolicyTemplate,
271273

0 commit comments

Comments
 (0)