wip: get all posts route working state

This commit is contained in:
2024-09-25 18:29:12 -04:00
parent 7842baf5f2
commit 9bd2cf373a
5 changed files with 72 additions and 43 deletions

View File

@ -8,9 +8,8 @@ use axum::{
pub struct RootRoute;
impl RootRoute {
pub fn routes() -> Router {
Router::new()
.route("/", get(RootRoute::root))
.fallback(RootRoute::not_found)
Router::new().route("/", get(RootRoute::root))
// .fallback(RootRoute::not_found)
}
async fn root() -> Html<&'static str> {