fix unlimited max file size template render

This commit is contained in:
neri 2022-07-23 15:02:13 +02:00
parent b414fda39a
commit 1351081f94
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ fn build_index_html(config: &Config) -> String {
.replace("{max_size_snippet}", MAX_SIZE_SNIPPET_HTML.trim_end())
.replace("{max_size}", &render_file_size(max_file_size));
} else {
html = html.replace("{max_size_snippet}", MAX_SIZE_SNIPPET_HTML.trim_end())
html = html.replace("{max_size_snippet}", "")
};
html
}