Hotfix empty arr setup

This commit is contained in:
Mukhtar Akere
2025-06-19 17:58:30 +01:00
parent 7474011ef0
commit 06096c3748

View File

@@ -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)