fix: add worker csp

This commit is contained in:
Danil Kovtonyuk 2022-06-14 20:22:23 +10:00
parent ee1073ff07
commit c5d30a788b
No known key found for this signature in database
GPG Key ID: E72A919BF08C3746

@ -50,7 +50,7 @@ export default {
{
'http-equiv': 'Content-Security-Policy',
content:
"img-src 'self' data:;font-src data:;style-src 'self' 'unsafe-inline';connect-src *;script-src 'self' 'unsafe-eval' 'unsafe-inline';default-src 'self';object-src 'none';base-uri 'none';upgrade-insecure-requests"
"img-src 'self' data:;font-src data:;style-src 'self' 'unsafe-inline';connect-src *;script-src 'self' 'unsafe-eval' 'unsafe-inline';default-src 'self';object-src 'none';base-uri 'none';upgrade-insecure-requests;child-src blob:;worker-src blob:;"
},
{
name: 'Referer-Policy',