mirror of
https://gh.catmak.name/https://github.com/mihomo-party-org/mihomo-party
synced 2025-12-26 20:50:30 +08:00
add default values
This commit is contained in:
parent
b43505a949
commit
dbb50421a9
@ -60,7 +60,8 @@ export const defaultControledMihomoConfig: Partial<IMihomoConfig> = {
|
||||
'fake-ip-filter': ['*', '+.lan', '+.local', 'time.*.com', 'ntp.*.com', '+.market.xiaomi.com'],
|
||||
'use-hosts': false,
|
||||
'use-system-hosts': false,
|
||||
nameserver: ['https://doh.pub/dns-query', 'https://dns.alidns.com/dns-query']
|
||||
nameserver: ['https://doh.pub/dns-query', 'https://dns.alidns.com/dns-query'],
|
||||
'proxy-server-nameserver': ['https://doh.pub/dns-query', 'https://dns.alidns.com/dns-query'],
|
||||
},
|
||||
sniffer: {
|
||||
enable: true,
|
||||
|
||||
@ -29,7 +29,7 @@ const DNS: React.FC = () => {
|
||||
'use-system-hosts': useSystemHosts = false,
|
||||
'respect-rules': respectRules = false,
|
||||
nameserver = ['https://doh.pub/dns-query', 'https://dns.alidns.com/dns-query'],
|
||||
'proxy-server-nameserver': proxyServerNameserver = []
|
||||
'proxy-server-nameserver': proxyServerNameserver = ['https://doh.pub/dns-query', 'https://dns.alidns.com/dns-query'],
|
||||
} = dns || {}
|
||||
|
||||
const [values, setValues] = useState({
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user