Fix content security policy for custom pseudo protocol 'once:'

Signed-off-by: trivernis <trivernis@protonmail.com>
pull/4/head
trivernis 3 years ago
parent a50bb88ba8
commit 8fbc4436e3

@ -45,13 +45,13 @@
"budgets": [ "budgets": [
{ {
"type": "initial", "type": "initial",
"maximumWarning": "500kb", "maximumWarning": "1mb",
"maximumError": "1mb" "maximumError": "10mb"
}, },
{ {
"type": "anyComponentStyle", "type": "anyComponentStyle",
"maximumWarning": "2kb", "maximumWarning": "6kb",
"maximumError": "4kb" "maximumError": "100kb"
} }
], ],
"fileReplacements": [ "fileReplacements": [

@ -61,7 +61,7 @@
} }
], ],
"security": { "security": {
"csp": "default-src blob: data: filesystem: ws: wss: http: https: tauri: 'unsafe-eval' 'unsafe-inline' 'self' img-src: 'self'" "csp": "default-src blob: data: filesystem: ws: wss: http: https: tauri: 'unsafe-eval' 'unsafe-inline' 'self' img-src: 'self' once:"
} }
} }
} }

Loading…
Cancel
Save