From bd6bffeafb32dabd604fc1ea47cdf32ad6d80634 Mon Sep 17 00:00:00 2001 From: Valentin Brandl Date: Mon, 29 Jul 2019 18:19:56 +0200 Subject: [PATCH] Normalize paths --- backend/src/main.rs | 1 + 1 file changed, 1 insertion(+) 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:.*}",