Skip to content

Commit b244a9f

Browse files
committed
fix: revert directory name change (for now)
the "/" being appended is probably harmless, but rather satisfy the tests and figure it out later
1 parent 6fbba40 commit b244a9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

caskethttp/browse/browse.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ func directoryListing(files []os.FileInfo, canGoUp bool, urlPath string, config
329329
fileInfos = append(fileInfos, FileInfo{
330330
IsDir: isDir,
331331
IsSymlink: fileIsSymlink,
332-
Name: name,
332+
Name: f.Name(),
333333
Size: size,
334334
URL: u.String(),
335335
ModTime: f.ModTime().UTC(),

0 commit comments

Comments
 (0)