This commit is contained in:
Henrique Dias 2016-10-22 09:19:08 +01:00
parent 212bba2c37
commit 4c8e023e9f

View File

@ -131,7 +131,7 @@ func (i Info) loadDirectoryContents(file http.File, basePath string, u *config.U
fileinfos = append(fileinfos, Info{ fileinfos = append(fileinfos, Info{
FileInfo: f, FileInfo: f,
URL: url.String(), URL: url.String(),
UserAllowed: u.Allowed(url.String()), UserAllowed: u.Allowed(i.VirtualPath),
}) })
} }