From de1596e13d3692f8050c132b71e6d0689b38207a Mon Sep 17 00:00:00 2001 From: Henrique Dias Date: Sat, 25 Jun 2016 22:08:55 +0100 Subject: [PATCH] fix filemanager.go --- filemanager.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/filemanager.go b/filemanager.go index dc3e2d06..b7b62f29 100644 --- a/filemanager.go +++ b/filemanager.go @@ -45,7 +45,7 @@ func (f FileManager) ServeHTTP(w http.ResponseWriter, r *http.Request) (int, err assets = httpserver.Path(r.URL.Path).Matches(c.BaseURL + a.BaseURL) if r.Method != http.MethodPost && !assets { - fi, code, err = GetFileInfo(r.URL, c) + fi, code, err = file.GetInfo(r.URL, c) if err != nil { return code, err }