summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2025-03-30 06:07:17 +0200
committermetamuffin <metamuffin@disroot.org>2025-03-30 06:07:17 +0200
commit6c40b37bfa89e7b6839d7bc2f730be53e637fdd8 (patch)
treea40c14ec60a64f12d25f7828273aa2bafbf98753
parent1300089bc4cdab99a5ce2f5eda58cccf086a7e64 (diff)
downloadgnix-6c40b37bfa89e7b6839d7bc2f730be53e637fdd8.tar
gnix-6c40b37bfa89e7b6839d7bc2f730be53e637fdd8.tar.bz2
gnix-6c40b37bfa89e7b6839d7bc2f730be53e637fdd8.tar.zst
reinvert doubly inverted config option (its now triple inverted)
-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] {