This commit is contained in:
Mateusz Gruszczyński committed 2026-10-05 09:30:21 +02:00
1 parent 1dea7f55c8
commit c819f0a335
151 files changed
+7610 -4264

No files matched your search

+13 -2
View File
@@ -8,9 +8,20 @@ mod tests {
enabled: true,
http2_enabled: true,
http3_enabled: true,
frontend: crate::vhost::Frontend { hosts: vec!["missing.example".into()], listener_ids: vec!["http".into()] },
frontend: crate::vhost::Frontend {
hosts: vec!["missing.example".into()],
listener_ids: vec!["http".into()],
},
certificate_id: None,
page: crate::pages::Page { kind, status: Some(status), html: if matches!(kind, crate::pages::Kind::Html) { "<h1>missing</h1>".into() } else { String::new() } },
page: crate::pages::Page {
kind,
status: Some(status),
html: if matches!(kind, crate::pages::Kind::Html) {
"<h1>missing</h1>".into()
} else {
String::new()
},
},
}
}