fix some bugs and add stuff to config

This commit is contained in:
Henrique Dias committed 2016-08-21 20:25:40 +01:00
1 parent 8d0214f74a
commit 408fa2e86f
3 files changed
+7 -8

No files matched your search

+1 -1
View File
@@ -57,7 +57,7 @@ func (f FileManager) ServeHTTP(w http.ResponseWriter, r *http.Request) (int, err
}
if r.Method != http.MethodPost && !serveAssets {
fi, code, err = directory.GetInfo(r.URL, c)
fi, code, err = directory.GetInfo(r.URL, c, user)
if err != nil {
if r.Method == http.MethodGet {
return errors.PrintHTML(w, code, err)