feat: allow manifest-src in CSP
This commit is contained in:
parent
9b397ee26a
commit
f4a473948f
|
@ -27,7 +27,7 @@ use tokio::sync::mpsc::channel;
|
|||
|
||||
const DEFAULT_CONTENT_SECURITY_POLICY: (HeaderName, &str) = (
|
||||
CONTENT_SECURITY_POLICY,
|
||||
"default-src 'none'; connect-src 'self'; img-src 'self'; media-src 'self'; font-src 'self'; script-src 'self'; style-src 'self'; object-src 'none'; base-uri 'self'; frame-src 'none'; frame-ancestors 'none'; form-action 'self';"
|
||||
"default-src 'none'; connect-src 'self'; img-src 'self'; media-src 'self'; font-src 'self'; script-src 'self'; style-src 'self'; object-src 'none'; base-uri 'self'; frame-src 'none'; frame-ancestors 'none'; form-action 'self'; manifest-src 'self';"
|
||||
);
|
||||
#[allow(clippy::declare_interior_mutable_const)]
|
||||
const DEFAULT_PERMISSIONS: (HeaderName, &str) = (
|
||||
|
|
Loading…
Reference in New Issue