wip: get all posts route working state
This commit is contained in:
@ -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> {
|
||||
|
Reference in New Issue
Block a user