Fix hosts DNS server

This commit is contained in:
k9982874 authored and 世界 committed 2025-07-08 13:12:24 +08:00
1 parent 32873d06bc
commit 0c523980ff
5 files changed
+24 -10

No files matched your search

+2 -2
View File
@@ -316,8 +316,8 @@ type LegacyDNSServerOptions struct {
}
type HostsDNSServerOptions struct {
Path badoption.Listable[string] `json:"path,omitempty"`
Predefined badjson.TypedMap[string, badoption.Listable[netip.Addr]] `json:"predefined,omitempty"`
Path badoption.Listable[string] `json:"path,omitempty"`
Predefined *badjson.TypedMap[string, badoption.Listable[netip.Addr]] `json:"predefined,omitempty"`
}
type LocalDNSServerOptions struct {