Normalize paths
This commit is contained in:
parent
67a0f565d3
commit
bd6bffeafb
@ -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:.*}",
|
||||
|
Loading…
Reference in New Issue
Block a user