Remove unused function

This commit is contained in:
traxys 2023-08-15 22:50:57 +02:00
parent 054a620664
commit 60d9c9b0a2

View file

@ -370,10 +370,6 @@ async fn page_not_found() -> Result<(StatusCode, Html<String>), Error> {
))
}
async fn error() -> Error {
Error::InternalError
}
pub static TEMPLATES: Lazy<Tera> =
Lazy::new(|| Tera::new("templates/*.html").expect("Could not generate templates"));