Standalone
This commit is contained in:
6 files changed
+145
-10
No files matched your search
@@ -44,7 +44,7 @@ func (f plugin) ServeHTTP(w http.ResponseWriter, r *http.Request) (int, error) {
|
||||
continue
|
||||
}
|
||||
|
||||
return f.Configs[i].ServeHTTP(w, r)
|
||||
return f.Configs[i].ServeWithErrorHTTP(w, r)
|
||||
}
|
||||
|
||||
return f.Next.ServeHTTP(w, r)
|
||||
|
||||
+1
-1
@@ -170,7 +170,7 @@ func (p plugin) ServeHTTP(w http.ResponseWriter, r *http.Request) (int, error) {
|
||||
continue
|
||||
}
|
||||
|
||||
return p.Configs[i].ServeHTTP(w, r)
|
||||
return p.Configs[i].ServeWithErrorHTTP(w, r)
|
||||
}
|
||||
|
||||
return p.Next.ServeHTTP(w, r)
|
||||
|
||||
Reference in new issue
Block a user