From 0e6cddbc3a0622b7ed75ce6e947b3a7467605fc8 Mon Sep 17 00:00:00 2001 From: Mattias Granlund Date: Thu, 2 Jan 2025 21:37:19 +0100 Subject: [PATCH] Actually fix http permission for use with Ollama In my previous commit I sloppily used the glob pattern in the place of the port, rather than path. --- crates/gitbutler-tauri/capabilities/main.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/gitbutler-tauri/capabilities/main.json b/crates/gitbutler-tauri/capabilities/main.json index 91b8fb8931..268b59f4d7 100644 --- a/crates/gitbutler-tauri/capabilities/main.json +++ b/crates/gitbutler-tauri/capabilities/main.json @@ -21,10 +21,10 @@ "identifier": "http:default", "allow": [ { - "url": "http://127.0.0.1:**" + "url": "http://127.0.0.1:*/**" }, { - "url": "http://localhost:**" + "url": "http://localhost:*/**" } ] }