diff --git a/files.js b/files.js index 42cc7af..cec9a2e 100644 --- a/files.js +++ b/files.js @@ -83,7 +83,7 @@ async function getDirectoryList(dir_path, base_url) { dirs.sort(sort_by_name); files.sort(sort_by_name); - return [dirs.concat(files), dirs.length, files.length, convertSize(total_files_size)]; + return [dirs.concat(files), dirs.length, files.length, convertSize(total_files_size).join(' ')]; } function setRoutes(router) {