mirror of https://github.com/fafhrd91/actix-web
fix tests
This commit is contained in:
parent
52b4e7f7f0
commit
bfead2f7fa
|
@ -106,7 +106,7 @@ impl Files {
|
||||||
};
|
};
|
||||||
|
|
||||||
Files {
|
Files {
|
||||||
path: mount_path.to_owned(),
|
path: mount_path.trim_end_matches('/').to_owned(),
|
||||||
directory: dir,
|
directory: dir,
|
||||||
index: None,
|
index: None,
|
||||||
show_index: false,
|
show_index: false,
|
||||||
|
|
Loading…
Reference in New Issue