internal/config: Fix host rule

This commit is contained in:
Tom 2023-04-27 15:14:19 +02:00
parent 8c4de32246
commit 1a5e83be10

View file

@ -152,9 +152,9 @@ func MakeHostRule(hosts ...string) string {
} }
if first { if first {
builder.WriteString("||Host(`")
} else {
builder.WriteString("Host(`") builder.WriteString("Host(`")
} else {
builder.WriteString("||Host(`")
} }
// domain should be punycode! // domain should be punycode!