include unsafe-eval origin for isolated documents
This commit is contained in:
parent
9e057472c6
commit
1b353d0b46
1 changed files with 1 additions and 1 deletions
|
@ -83,7 +83,7 @@ pub fn compose_csp(options: &Options) -> String {
|
||||||
let mut string_list = vec![];
|
let mut string_list = vec![];
|
||||||
|
|
||||||
if options.isolate {
|
if options.isolate {
|
||||||
string_list.push("default-src 'unsafe-inline' data:;");
|
string_list.push("default-src 'unsafe-eval' 'unsafe-inline' data:;");
|
||||||
}
|
}
|
||||||
|
|
||||||
if options.no_css {
|
if options.no_css {
|
||||||
|
|
Loading…
Reference in a new issue