trim trailing whitespace of snippets

master
neri 2 months ago
parent bf7c762f83
commit 53c568082d
  1. 4
      src/template.rs

@ -8,8 +8,8 @@ use crate::config::Config;
const INDEX_HTML: &str = include_str!("../template/index.html");
const AUTH_HIDE_JS: &str = include_str!("../template/auth-hide.js");
const AUTH_SNIPPET_HTML: &str = include_str!("../snippet/auth.html.snippet");
const MAX_SIZE_SNIPPET_HTML: &str = include_str!("../snippet/max_size.html.snippet");
const AUTH_SNIPPET_HTML: &str = include_str!("../snippet/auth.html.snippet").trim_end();
const MAX_SIZE_SNIPPET_HTML: &str = include_str!("../snippet/max_size.html.snippet").trim_end;
pub async fn write_prefillable_templates(config: &Config) {
let index_html = build_index_html(config);

Loading…
Cancel
Save