Skip to content

Commit

Permalink
debug: add 404 pages back
Browse files Browse the repository at this point in the history
  • Loading branch information
JacksonVirgo committed Jul 17, 2024
1 parent 4575861 commit 4ec7626
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ async fn main() -> std::io::Result<()> {
App::new()
.service(fs::Files::new("/static", "./static").show_files_listing())
.service(routes::main::main)
// .default_service(web::route().to(routes::not_found::not_found))
.default_service(web::route().to(routes::not_found::not_found))
})
.bind(&address)?
.run()
Expand Down

0 comments on commit 4ec7626

Please sign in to comment.