aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/config.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/config.rs b/src/config.rs
index 8eb7d8d..4d47757 100644
--- a/src/config.rs
+++ b/src/config.rs
@@ -38,8 +38,8 @@ pub struct Config {
#[serde(default)]
pub limits: Limits,
pub handler: DynNode,
- #[serde(default = "return_true")]
- pub disable_server_header: bool
+ #[serde(default)]
+ pub disable_server_header: bool,
}
fn random_bytes() -> [u8; 32] {