blob: 5942b8cfbc3a4afd18dec5ed61de08be2a1af0fb (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
pub mod handlers {
use color_eyre::Result;
use warp::{Reply, Rejection, http::Response};
use crate::templates::{self, Html, RenderRucte};
pub async fn index() -> Result<impl Reply, Rejection> {
Response::builder()
.html(|o| templates::index_html(o))
}
}
|