mirror of
https://github.com/gtsteffaniak/filebrowser.git
synced 2026-11-26 00:19:41 -05:00
fix: search missing path slash
This commit is contained in:
1 parent
5e27ba5c8c
commit
2bd163d92a
1 file changed
+5
@@ -16,6 +16,11 @@ export default async function search (base, query) {
|
||||
|
||||
data = data.map((item) => {
|
||||
item.url = `/files${base}` + url.encodePath(item.path)
|
||||
|
||||
if (item.dir) {
|
||||
item.url += '/'
|
||||
}
|
||||
|
||||
return item
|
||||
})
|
||||
|
||||
|
||||
Reference in new issue
Block a user