diff options
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index 7313a6d..cdb5650 100644 --- a/src/main.rs +++ b/src/main.rs @@ -257,7 +257,7 @@ async fn service<C: Controller>( resp.headers_mut().insert( header::CONTENT_SECURITY_POLICY, format!( - "child-src 'none'; script-src 'sha256-{}'; style-src 'sha256-{}'", + "default-src 'self'; frame-src 'none'; script-src 'sha256-{}'; style-src 'sha256-{}'", include_str!("static/edit_script.js.sha256"), include_str!("static/style.css.sha256"), ) |