mirror of
https://github.com/SukkaW/Surge.git
synced 2025-12-12 01:00:34 +08:00
Fix local dns mapping
This commit is contained in:
parent
e65d398c17
commit
c148185318
@ -49,7 +49,10 @@ const domainSorter = require('./lib/stable-sort-domain');
|
||||
'[Host]',
|
||||
...Object.entries(DOMESTICS)
|
||||
.flatMap(
|
||||
([, { domains, dns }]) => domains.map((domain) => `${domain} = server:${dns}`)
|
||||
([, { domains, dns }]) => domains.flatMap((domain) => [
|
||||
`${domain} = server:${dns}`,
|
||||
`*.${domain} = server:${dns}`
|
||||
])
|
||||
),
|
||||
''
|
||||
],
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user