Make use of website config, return error document on error

This commit is contained in:
Alex Auvolat
2022-01-06 12:55:49 +01:00
parent 9eb211948e
commit d4dd2e2640
3 changed files with 103 additions and 29 deletions
-2
View File
@@ -87,8 +87,6 @@ pub struct WebConfig {
pub bind_addr: SocketAddr,
/// Suffix to remove from domain name to find bucket
pub root_domain: String,
/// Suffix to add when user-agent request path end with "/"
pub index: String,
}
fn default_sled_cache_capacity() -> u64 {