Remove HTTP STS preload directive

This commit is contained in:
mdecimus 2025-10-23 16:38:26 +02:00
parent 8b9731790a
commit 1644f9030f

View file

@ -206,9 +206,7 @@ impl JmapConfig {
if config.property::<bool>("http.hsts").unwrap_or(false) {
http_headers.push((
hyper::header::STRICT_TRANSPORT_SECURITY,
hyper::header::HeaderValue::from_static(
"max-age=31536000; includeSubDomains; preload",
),
hyper::header::HeaderValue::from_static("max-age=31536000; includeSubDomains"),
));
}