From 93acc93cfa65697fb8183672229fac5af7566a47 Mon Sep 17 00:00:00 2001 From: Francisco Salgueiro Date: Thu, 10 Oct 2024 23:49:55 +0100 Subject: [PATCH] fix http scope --- src-tauri/capabilities/main.json | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/src-tauri/capabilities/main.json b/src-tauri/capabilities/main.json index e1a6c713..53158ee9 100644 --- a/src-tauri/capabilities/main.json +++ b/src-tauri/capabilities/main.json @@ -13,7 +13,6 @@ "core:window:allow-minimize", "core:window:allow-close", "shell:default", - "http:default", "dialog:default", "os:default", "cli:default", @@ -30,6 +29,18 @@ "path": "**" } ] + }, + { + "identifier": "http:default", + "allow": [ + "https://www.encroissant.org/**", + "https://api.chess.com/**", + "https://www.chess.com/**", + "https://lichess.org/**", + "https://explorer.lichess.ovh/**", + "https://tablebase.lichess.ovh/**", + "https://www.chessdb.cn/**" + ] } ] } \ No newline at end of file