From 680206115391f232e969f2aba15f4163480abffd Mon Sep 17 00:00:00 2001 From: endrl <119058008+endrl@users.noreply.github.com> Date: Thu, 12 Oct 2023 18:56:17 +0200 Subject: [PATCH] fix: disable csp, add app version to tauri --- tauri/.gitignore | 3 ++- tauri/tauri.conf.json | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/tauri/.gitignore b/tauri/.gitignore index c1237045..f022fcfa 100644 --- a/tauri/.gitignore +++ b/tauri/.gitignore @@ -1,4 +1,5 @@ # Generated by Cargo # will have compiled files and executables -/target/ +target/ WixTools +icons/ diff --git a/tauri/tauri.conf.json b/tauri/tauri.conf.json index 81baff11..a1745f3c 100644 --- a/tauri/tauri.conf.json +++ b/tauri/tauri.conf.json @@ -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 } }