remove old svelte web source
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
pub use askama::*;
|
||||
use axum::http::Response;
|
||||
|
||||
pub fn into_response<T: Template>(t: &T) -> Response {
|
||||
match t.render() {
|
||||
Ok(body) => Html(body),
|
||||
Err(_) => StatusCode::INTERNAL_SERVER_ERROR.into_response(),
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user