mirror of
https://github.com/stalwartlabs/mail-server.git
synced 2025-12-09 21:05:59 +08:00
Remove HTTP STS preload directive
This commit is contained in:
parent
8b9731790a
commit
1644f9030f
1 changed files with 1 additions and 3 deletions
|
|
@ -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"),
|
||||
));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue