Skip to content

Commit

Permalink
Fixed generating urls in BrowsableFolderServeWebPage.
Browse files Browse the repository at this point in the history
  • Loading branch information
Relintai committed Jan 2, 2024
1 parent 2effb79 commit 20ec9e2
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand All @@ -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) {
Expand Down

0 comments on commit 20ec9e2

Please sign in to comment.