mirror of
https://github.com/euzu/tuliprox.git
synced 2026-10-27 01:02:45 +01:00
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:
@@ -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![
|
||||
|
||||
Reference in New Issue
Block a user