Enable NormalizePath middleware
This allows double slashes in paths
This commit is contained in:
parent
614e5a6da5
commit
55a1405e71
@ -355,6 +355,7 @@ fn start_server() -> Result<()> {
|
||||
App::new()
|
||||
.data(state.clone())
|
||||
.wrap(middleware::Logger::default())
|
||||
.wrap(middleware::NormalizePath)
|
||||
.service(index)
|
||||
.service(css)
|
||||
.service(favicon32)
|
||||
|
Loading…
Reference in New Issue
Block a user