Normalize paths

This commit is contained in:
Valentin Brandl 2019-07-29 18:19:56 +02:00
parent 67a0f565d3
commit bd6bffeafb
No known key found for this signature in database
GPG Key ID: 30D341DD34118D7D

View File

@ -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:.*}",