diff --git a/src/main.rs b/src/main.rs index f246f46..7876245 100644 --- a/src/main.rs +++ b/src/main.rs @@ -106,7 +106,7 @@ fn main() -> Result<()> { .data(Client::new()) .wrap(middleware::Logger::default()) .route( - "/github/{user}/{repo}/{commit}/{file}", + "/github/{user}/{repo}/{commit}/{file:.*}", web::get().to_async(handle_request::), ) // .default_service(web::resource("").route(web::get().to_async(p404)))