diff --git a/modules/web/nodes/folder_serve_nodes/browsable_folder_serve_web_page.cpp b/modules/web/nodes/folder_serve_nodes/browsable_folder_serve_web_page.cpp index 386213d97..5b0d0784e 100644 --- a/modules/web/nodes/folder_serve_nodes/browsable_folder_serve_web_page.cpp +++ b/modules/web/nodes/folder_serve_nodes/browsable_folder_serve_web_page.cpp @@ -132,9 +132,6 @@ void BrowsableFolderServeWebPage::evaluate_dir(const String &path, const bool to folders.sort(); files.sort(); - //folders.sort_inc(); - //files.sort_inc(); - render_dir_page(dir_uri, folders, files, top_level); } @@ -143,6 +140,10 @@ void BrowsableFolderServeWebPage::render_dir_page(const String &dir_uri, const V String uri = get_full_uri(false); + if (uri == "/") { + uri = ""; + } + b.div("file_list"); { if (!top_level) {