From 97eb1c65ca234875150b941bb136f67b5cae320e Mon Sep 17 00:00:00 2001 From: ArEnSc <6252325+ArEnSc@users.noreply.github.com> Date: Thu, 22 May 2025 18:43:59 -0400 Subject: [PATCH] =?UTF-8?q?Fix=20cors=20allow=20all=20urls=20for=20now,=20?= =?UTF-8?q?since=20there=20isn't=20really=20a=20way=20to=20ha=E2=80=A6=20(?= =?UTF-8?q?#628)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit …ck the app lol. Co-authored-by: Michael Chung --- crates/desktop/artcraft/capabilities/default.json | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/crates/desktop/artcraft/capabilities/default.json b/crates/desktop/artcraft/capabilities/default.json index f40dadbe37..7e62e230b6 100644 --- a/crates/desktop/artcraft/capabilities/default.json +++ b/crates/desktop/artcraft/capabilities/default.json @@ -10,19 +10,12 @@ "log:default", "upload:allow-download", "upload:default", + "http:allow-fetch", { "identifier": "http:default", "allow": [ { - "url": "https://*.storyteller.ai" - }, - { - "url": "https://*.fakeyou.com" - } - ], - "deny": [ - { - "url": "https://private.tauri.app" + "url": "https://*" } ] },