fix: disable csp, add app version to tauri

This commit is contained in:
endrl 2023-10-12 18:56:17 +02:00 committed by Fernando Fernández
parent e4d92f2146
commit 6802061153
2 changed files with 4 additions and 3 deletions

3
tauri/.gitignore vendored
View File

@ -1,4 +1,5 @@
# Generated by Cargo
# will have compiled files and executables
/target/
target/
WixTools
icons/

View File

@ -1,7 +1,7 @@
{
"package": {
"productName": "jellyfin-vue",
"version": "0.0.0"
"version": "../frontend/package.json"
},
"build": {
"distDir": "../frontend/dist",
@ -52,7 +52,7 @@
}
],
"security": {
"csp": "default-src blob: data: filesystem: ws: wss: http: https: tauri: 'unsafe-eval' 'unsafe-inline' 'self' img-src: 'self'",
"csp": null,
"dangerousUseHttpScheme": true
}
}