ticker-serve: fix doctype

This commit is contained in:
Astro 2021-01-14 16:38:18 +01:00
parent 4520d60652
commit 3bc618204b
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni

Vedi File

@ -138,7 +138,7 @@ fn render_index(app_state: &AppState) -> String {
</body>
</html>
);
format!("<DOCTYPE html>\n{}", doc.to_string())
format!("<!DOCTYPE html>\n{}", doc.to_string())
}
pub fn index(state: State) -> (State, Response<Body>) {