Merge pull request #7 from knylbyte/codex/revert-content-security-policies-to-content_security_policy

Use content_security_policy key in web UI config
This commit is contained in:
knylbyte
2025-08-18 17:38:53 +02:00
committed by GitHub
6 changed files with 18 additions and 22 deletions
+1 -1
View File
@@ -167,7 +167,7 @@ async fn index(
if let Some(csp) = config
.web_ui
.as_ref()
.and_then(|w| w.content_security_policies.as_ref())
.and_then(|w| w.content_security_policy.as_ref())
.filter(|c| c.enabled)
{
let mut attrs = vec![