fix: warp random domains
This commit is contained in:
@@ -5,6 +5,7 @@ import (
|
||||
"fmt"
|
||||
"net/netip"
|
||||
"os"
|
||||
"strings"
|
||||
|
||||
"github.com/bepass-org/warp-plus/warp"
|
||||
C "github.com/sagernet/sing-box/constant"
|
||||
@@ -189,7 +190,7 @@ func patchWarp(base *option.Outbound, configOpt *ConfigOptions, final bool, stat
|
||||
if base.WireGuardOptions.Detour != "" {
|
||||
base.WireGuardOptions.Server = "162.159.192.1"
|
||||
} else {
|
||||
rndDomain := generateRandomString(20)
|
||||
rndDomain := strings.ToLower(generateRandomString(20))
|
||||
staticIpsDns[rndDomain] = []string{}
|
||||
if host != "auto4" {
|
||||
randomIpPort, _ := warp.RandomWarpEndpoint(false, true)
|
||||
|
||||
Reference in New Issue
Block a user