|
|
@ -42,7 +42,6 @@ async fn main() -> std::io::Result<()> {
|
|
|
|
.service(routes::help::get)
|
|
|
|
.service(routes::help::get)
|
|
|
|
.service(routes::index::get)
|
|
|
|
.service(routes::index::get)
|
|
|
|
.service(routes::submit::get)
|
|
|
|
.service(routes::submit::get)
|
|
|
|
//.route("/submit", web::post().to(routes::submit::post))
|
|
|
|
|
|
|
|
.service(routes::submit::post)
|
|
|
|
.service(routes::submit::post)
|
|
|
|
.service(Files::new("/static", "static").show_files_listing())
|
|
|
|
.service(Files::new("/static", "static").show_files_listing())
|
|
|
|
})
|
|
|
|
})
|
|
|
|