aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/main.rs b/src/main.rs
index 9f30ef2..ffa6486 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -239,10 +239,8 @@ async fn service<C: Controller>(
.entry(header::CONTENT_SECURITY_POLICY)
.or_insert_with(|| {
format!(
- "default-src 'self'; frame-src {}; script-src {}; style-src {}",
- frame_csp,
- script_csp,
- include_str!("static/style.css.sha"),
+ "default-src 'self'; frame-src {}; script-src {}; style-src 'unsafe-inline'",
+ frame_csp, script_csp,
)
.parse()
.unwrap()