From ec4b9e146b1666f8085eea1059c045d105f3abb9 Mon Sep 17 00:00:00 2001 From: Thorsten Sommer Date: Sat, 7 Sep 2024 16:14:59 +0200 Subject: [PATCH] Allow opening external links in an external browser --- runtime/tauri.conf.json | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/runtime/tauri.conf.json b/runtime/tauri.conf.json index 2405c15e..d7c8e805 100644 --- a/runtime/tauri.conf.json +++ b/runtime/tauri.conf.json @@ -22,6 +22,13 @@ "args": true } ] + }, + "http" : { + "all": true, + "request": true, + "scope": [ + "http://localhost" + ] } }, "windows": [ @@ -33,6 +40,16 @@ "height": 1080 } ], + "security": { + "csp": null, + "dangerousRemoteDomainIpcAccess": [ + { + "domain": "localhost", + "windows": ["main"], + "enableTauriAPI": false + } + ] + }, "bundle": { "active": true, "targets": "all",