uptime-graph details, hover, history and % uptime overall

This commit is contained in:
4cuck committed 2023-10-16 23:32:09 +02:00
1 parent df316e8fdd
commit daee7e6277
5 files changed
+127 -48

No files matched your search

+1 -1
View File
@@ -64,7 +64,7 @@ pub async fn start(
.layer(cors_policy(&config.site_url))
.layer(SetResponseHeaderLayer::overriding(
header::CONTENT_SECURITY_POLICY,
"default-src 'self'; child-src 'none'; script-src 'self'; style-src 'self';"
"default-src 'self'; child-src 'none'; script-src 'self'; style-src 'self' 'unsafe-inline';"
.parse::<HeaderValue>()
.expect("Invalid CSP header value"),
)),