mirror of
https://github.com/filebrowser/filebrowser.git
synced 2026-07-17 16:36:49 +00:00
fix: correctly clean path
This commit is contained in:
parent
aa809096eb
commit
31194fb57a
1 changed files with 1 additions and 1 deletions
|
|
@ -56,7 +56,7 @@ var withHashFile = func(fn handleFunc) handleFunc {
|
|||
filePath := ""
|
||||
|
||||
if file.IsDir {
|
||||
basePath = filepath.Dir(basePath)
|
||||
basePath = filepath.Clean(link.Path)
|
||||
filePath = ifPath
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue