aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.rs
diff options
context:
space:
mode:
authorkhai96_ <hvksmr1996@gmail.com>2019-05-16 09:53:27 +0000
committerkhai96_ <hvksmr1996@gmail.com>2019-05-16 09:53:27 +0000
commit784b5fd79b071937ca1ade12caf9be291b53dff6 (patch)
tree08171389b4e97e03a4d652f255c23c11a5958fe4 /src/main.rs
parentRefactoring: Use immutable HashMap (diff)
downloadminiserve-784b5fd79b071937ca1ade12caf9be291b53dff6.tar.gz
miniserve-784b5fd79b071937ca1ade12caf9be291b53dff6.zip
Make some changes
Diffstat (limited to '')
-rw-r--r--src/main.rs2
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,