remove fqdn from DnsConfig

l

l

plan: update

plan: update
This commit is contained in:
Luna Yao
2026-04-19 01:38:29 +02:00
parent cbb966d57c
commit 9feb548bc2
5 changed files with 23 additions and 54 deletions
+6 -4
View File
@@ -581,10 +581,12 @@ impl ConfigLoader for TomlConfigLoader {
self.set_hostname(hostname.clone());
hostname.unwrap_or_else(|| {
hostname::get()
.unwrap_or_default()
.to_string_lossy()
.into_owned()
sanitize(
hostname::get()
.unwrap_or_default()
.to_string_lossy()
.as_ref(),
)
})
}