diff --git a/Cargo.lock b/Cargo.lock index 2da76e6..53daf14 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -403,7 +403,7 @@ dependencies = [ [[package]] name = "datatrash" -version = "1.1.4" +version = "1.1.5" dependencies = [ "actix-files", "actix-multipart", diff --git a/Cargo.toml b/Cargo.toml index c9857ec..8f4f59d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "datatrash" -version = "1.1.4" +version = "1.1.5" authors = ["neri"] edition = "2021" diff --git a/src/template.rs b/src/template.rs index 7982029..0046fa6 100644 --- a/src/template.rs +++ b/src/template.rs @@ -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 }