|
|
@ -43,9 +43,6 @@ async fn main() -> std::io::Result<()> {
|
|
|
|
.wrap(middleware::Logger::default())
|
|
|
|
.wrap(middleware::Logger::default())
|
|
|
|
.service(routes::help::get)
|
|
|
|
.service(routes::help::get)
|
|
|
|
.service(routes::index::get)
|
|
|
|
.service(routes::index::get)
|
|
|
|
//.service(
|
|
|
|
|
|
|
|
// web::resource("/r/{id}").name("replay").guard(guard::Get()).to(HttpResponse::Ok),
|
|
|
|
|
|
|
|
//)
|
|
|
|
|
|
|
|
.service(routes::replay::get)
|
|
|
|
.service(routes::replay::get)
|
|
|
|
.service(routes::submit::get)
|
|
|
|
.service(routes::submit::get)
|
|
|
|
.service(routes::submit::post)
|
|
|
|
.service(routes::submit::post)
|
|
|
|