Merge upstream #40
1 changed files with 1 additions and 0 deletions
|
@ -50,6 +50,7 @@ export function generateCSP(hashedMap: Map<string, CSPHashed>, options: {
|
||||||
'\'wasm-unsafe-eval\'',
|
'\'wasm-unsafe-eval\'',
|
||||||
...scripts
|
...scripts
|
||||||
]],
|
]],
|
||||||
|
['worker-src', ['\'self\'', options.mediaProxy].filter(Boolean)],
|
||||||
['object-src', ['\'none\'']],
|
['object-src', ['\'none\'']],
|
||||||
['base-uri', ['\'self\'']],
|
['base-uri', ['\'self\'']],
|
||||||
['form-action', ['\'self\'']],
|
['form-action', ['\'self\'']],
|
||||||
|
|
Loading…
Reference in a new issue