From 104e2ce0a25917dfaaab7e62042cc611fc05125a Mon Sep 17 00:00:00 2001 From: Quentin Date: Sat, 31 Oct 2020 17:28:56 +0100 Subject: Add "web" configuration entry --- src/util/config.rs | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/util') diff --git a/src/util/config.rs b/src/util/config.rs index b985114d..a78ef830 100644 --- a/src/util/config.rs +++ b/src/util/config.rs @@ -35,6 +35,8 @@ pub struct Config { pub rpc_tls: Option, pub s3_api: ApiConfig, + + pub s3_web: WebConfig, } #[derive(Deserialize, Debug, Clone)] @@ -50,6 +52,11 @@ pub struct ApiConfig { pub s3_region: String, } +#[derive(Deserialize, Debug, Clone)] +pub struct WebConfig { + pub website_bind_addr: SocketAddr, +} + fn default_max_concurrent_rpc_requests() -> usize { 12 } -- cgit v1.2.3