From 06096c3748fda4957e6c7b766bda9c598c5bf199 Mon Sep 17 00:00:00 2001 From: Mukhtar Akere Date: Thu, 19 Jun 2025 17:58:30 +0100 Subject: [PATCH] Hotfix empty arr setup --- pkg/qbit/context.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/qbit/context.go b/pkg/qbit/context.go index cdbbbd7..79dbcf7 100644 --- a/pkg/qbit/context.go +++ b/pkg/qbit/context.go @@ -148,6 +148,7 @@ func (q *QBit) authContext(next http.Handler) http.Handler { a.Source = "auto" if err := validateServiceURL(a.Host); err != nil { // Return silently, no need to raise a problem. Just do not add the Arr to the context/config.json + next.ServeHTTP(w, r) return } arrs.AddOrUpdate(a)