fix route so it works properly to +

master
rascul 2 years ago
parent 8e6f7df5b6
commit 8afb12d070

@ -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)

Loading…
Cancel
Save