From ca54f9dfb1f6d927d9d45961e7c267cc61e5c74d Mon Sep 17 00:00:00 2001 From: Henrique Dias Date: Sun, 22 Jan 2017 09:59:56 +0000 Subject: [PATCH] fix multiple filemanager on one domain --- filemanager.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/filemanager.go b/filemanager.go index b65957bb..7ceb5c05 100644 --- a/filemanager.go +++ b/filemanager.go @@ -41,7 +41,7 @@ func (f FileManager) ServeHTTP(w http.ResponseWriter, r *http.Request) (int, err for i := range f.Configs { // Checks if this Path should be handled by File Manager. if !httpserver.Path(r.URL.Path).Matches(f.Configs[i].BaseURL) { - return f.Next.ServeHTTP(w, r) + continue } c = &f.Configs[i]