diff --git a/backend/src/main.rs b/backend/src/main.rs index 6fc3d79..82548ff 100644 --- a/backend/src/main.rs +++ b/backend/src/main.rs @@ -120,6 +120,7 @@ fn main() -> Result<()> { App::new() .data(Client::new()) .wrap(middleware::Logger::default()) + .wrap(middleware::NormalizePath) .service(favicon32) .route( "/github/{user}/{repo}/{commit}/{file:.*}",