diff options
author | Sven-Hendrik Haase <svenstaro@gmail.com> | 2019-06-03 13:59:16 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-03 13:59:16 +0000 |
commit | 9907b33db7b7f25c97f96c922b967845035e1cfe (patch) | |
tree | c944b2226d9645323f3908db4decab56afe8a1bc /src/main.rs | |
parent | Merge pull request #131 from svenstaro/dependabot/cargo/structopt-0.2.17 (diff) | |
parent | Apply WWW_AUTHENTICATE to all Unauthorized branches (diff) | |
download | miniserve-9907b33db7b7f25c97f96c922b967845035e1cfe.tar.gz miniserve-9907b33db7b7f25c97f96c922b967845035e1cfe.zip |
Merge pull request #118 from KSXGitHub/multiple-auths-alt
Multiple user accounts — Alternate Implementation
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 bb61edc..f26369a 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, |