From 103b67882e36685cb4d5c8578b416dfea95dd699 Mon Sep 17 00:00:00 2001 From: iiPython Date: Sun, 18 Feb 2024 19:47:07 -0600 Subject: [PATCH] Make CSP match in tauri config --- nightwatch/__init__.py | 2 +- nightwatch/desktop/src-tauri/Cargo.lock | 2 +- nightwatch/desktop/src-tauri/Cargo.toml | 2 +- nightwatch/desktop/src-tauri/tauri.conf.json | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/nightwatch/__init__.py b/nightwatch/__init__.py index 49e0fc1..a5f830a 100644 --- a/nightwatch/__init__.py +++ b/nightwatch/__init__.py @@ -1 +1 @@ -__version__ = "0.7.0" +__version__ = "0.7.1" diff --git a/nightwatch/desktop/src-tauri/Cargo.lock b/nightwatch/desktop/src-tauri/Cargo.lock index 7f6f96d..a321106 100644 --- a/nightwatch/desktop/src-tauri/Cargo.lock +++ b/nightwatch/desktop/src-tauri/Cargo.lock @@ -1557,7 +1557,7 @@ checksum = "e4a24736216ec316047a1fc4252e27dabb04218aa4a3f37c6e7ddbf1f9782b54" [[package]] name = "nightwatch-desktop" -version = "0.7.0" +version = "0.7.1" dependencies = [ "serde", "serde_json", diff --git a/nightwatch/desktop/src-tauri/Cargo.toml b/nightwatch/desktop/src-tauri/Cargo.toml index 7a139ca..2f0766a 100644 --- a/nightwatch/desktop/src-tauri/Cargo.toml +++ b/nightwatch/desktop/src-tauri/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "nightwatch-desktop" -version = "0.7.0" +version = "0.7.1" description = "The chatting application to end all chatting applications." authors = ["iiPython"] license = "MIT" diff --git a/nightwatch/desktop/src-tauri/tauri.conf.json b/nightwatch/desktop/src-tauri/tauri.conf.json index f8e0894..4987e9a 100644 --- a/nightwatch/desktop/src-tauri/tauri.conf.json +++ b/nightwatch/desktop/src-tauri/tauri.conf.json @@ -8,7 +8,7 @@ }, "package": { "productName": "nightwatch-desktop", - "version": "0.7.0" + "version": "0.7.1" }, "tauri": { "allowlist": { @@ -54,7 +54,7 @@ } }, "security": { - "csp": "default-src 'self' 'unsafe-inline'; img-src 'self';" + "csp": "default-src 'self' 'unsafe-inline'; img-src data: 'self'; connect-src *;" }, "updater": { "active": false