diff options
author | khai96_ <hvksmr1996@gmail.com> | 2019-05-16 09:53:27 +0000 |
---|---|---|
committer | khai96_ <hvksmr1996@gmail.com> | 2019-05-16 09:53:27 +0000 |
commit | 784b5fd79b071937ca1ade12caf9be291b53dff6 (patch) | |
tree | 08171389b4e97e03a4d652f255c23c11a5958fe4 /src/main.rs | |
parent | Refactoring: Use immutable HashMap (diff) | |
download | miniserve-784b5fd79b071937ca1ade12caf9be291b53dff6.tar.gz miniserve-784b5fd79b071937ca1ade12caf9be291b53dff6.zip |
Make some changes
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index ea58fc6..f227be9 100644 --- a/src/main.rs +++ b/src/main.rs @@ -37,7 +37,7 @@ pub struct MiniserveConfig { pub interfaces: Vec<IpAddr>, /// Enable HTTP basic authentication - pub auth: Option<auth::RequiredAuth>, + pub auth: Vec<auth::RequiredAuth>, /// If false, miniserve will serve the current working directory pub path_explicitly_chosen: bool, |