Hotfix empty arr setup
This commit is contained in:
@@ -148,6 +148,7 @@ func (q *QBit) authContext(next http.Handler) http.Handler {
|
|||||||
a.Source = "auto"
|
a.Source = "auto"
|
||||||
if err := validateServiceURL(a.Host); err != nil {
|
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
|
// Return silently, no need to raise a problem. Just do not add the Arr to the context/config.json
|
||||||
|
next.ServeHTTP(w, r)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
arrs.AddOrUpdate(a)
|
arrs.AddOrUpdate(a)
|
||||||
|
|||||||
Reference in New Issue
Block a user