aboutsummaryrefslogtreecommitdiff
path: root/src/util/config.rs
diff options
context:
space:
mode:
authorQuentin <quentin@deuxfleurs.fr>2020-11-10 09:57:07 +0100
committerQuentin <quentin@deuxfleurs.fr>2020-11-10 09:57:07 +0100
commit4093833ae854df16bc893a21617b0902a5beae47 (patch)
treee606270e791e2a5f68530839c58f7dedcb38b939 /src/util/config.rs
parent09137fd6b5ff30639addcac837bc1c6e6ff78fcf (diff)
downloadgarage-4093833ae854df16bc893a21617b0902a5beae47.tar.gz
garage-4093833ae854df16bc893a21617b0902a5beae47.zip
Extract bucket
Diffstat (limited to 'src/util/config.rs')
-rw-r--r--src/util/config.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/util/config.rs b/src/util/config.rs
index a5fbe4b4..72f7c319 100644
--- a/src/util/config.rs
+++ b/src/util/config.rs
@@ -54,7 +54,8 @@ pub struct ApiConfig {
#[derive(Deserialize, Debug, Clone)]
pub struct WebConfig {
- pub web_bind_addr: SocketAddr,
+ pub bind_addr: SocketAddr,
+ pub root_domain: String,
}
fn default_max_concurrent_rpc_requests() -> usize {