mirror of
https://github.com/filebrowser/filebrowser.git
synced 2024-06-07 23:00:43 +00:00
update
This commit is contained in:
parent
212bba2c37
commit
4c8e023e9f
@ -131,7 +131,7 @@ func (i Info) loadDirectoryContents(file http.File, basePath string, u *config.U
|
||||
fileinfos = append(fileinfos, Info{
|
||||
FileInfo: f,
|
||||
URL: url.String(),
|
||||
UserAllowed: u.Allowed(url.String()),
|
||||
UserAllowed: u.Allowed(i.VirtualPath),
|
||||
})
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user