Extract router from main to its own module

This commit is contained in:
Juno Takano 2025-12-14 21:17:14 -03:00
commit 089b507299
6 changed files with 44 additions and 41 deletions

View file

@ -45,7 +45,6 @@ fn make_body(code: Option<u16>, message: Option<&str>) -> String {
.0
}
#[expect(clippy::unused_async)]
pub async fn not_found() -> Response<Body> {
by_code(
Some(404),