mirror of https://github.com/fafhrd91/actix-web
Update actix-files/src/files.rs
trailing -> leading Co-authored-by: Rob Ede <robjtede@icloud.com>
This commit is contained in:
parent
6f272550d7
commit
6be79b25c6
|
@ -217,7 +217,7 @@ impl Files {
|
||||||
self
|
self
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Enables serving hidden files and directories, allowing a trailing dots in url fragments.
|
/// Enables serving hidden files and directories, allowing a leading dots in url fragments.
|
||||||
#[inline]
|
#[inline]
|
||||||
pub fn use_hidden_files(mut self) -> Self {
|
pub fn use_hidden_files(mut self) -> Self {
|
||||||
self.hidden_files = true;
|
self.hidden_files = true;
|
||||||
|
|
Loading…
Reference in New Issue