mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-21 16:02:28 +00:00
chore(csp): fix trailing semicolon (#863)
This commit is contained in:
committed by
GitHub
parent
975e63a8e9
commit
209dee7bd8
@@ -80,7 +80,7 @@ fn serve_path(path: String, can_set_security_headers: bool) -> Response<BoxBody>
|
||||
}
|
||||
|
||||
fn set_security_headers(mut res: Builder) -> Builder {
|
||||
let csp = "frame-ancestors 'none'; frame-src 'none'; worker-src 'self'; child-src 'none'; object-src 'none'; script-src 'self' 'unsafe-inline'";
|
||||
let csp = "frame-ancestors 'none'; frame-src 'none'; worker-src 'self'; child-src 'none'; object-src 'none'; script-src 'self' 'unsafe-inline';";
|
||||
res = res.header("Content-Security-Policy", csp);
|
||||
res = res.header("X-Frame-Options", "DENY");
|
||||
res = res.header("X-Content-Type-Options", "nosniff");
|
||||
|
||||
Reference in New Issue
Block a user