From bf54b61eb8305f19d79a970758cec0d0e9e18f3f Mon Sep 17 00:00:00 2001 From: sjlleo Date: Sat, 2 Jul 2022 02:35:16 +0200 Subject: [PATCH] =?UTF-8?q?update:=20IPv6=20=E9=BB=98=E8=AE=A4=E4=BD=BF?= =?UTF-8?q?=E7=94=A8=20LeoMoeAPI?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/main.go b/main.go index fb2a92c..c624d48 100644 --- a/main.go +++ b/main.go @@ -90,11 +90,6 @@ func main() { ip = util.DomainLookUp(domain, false) } - if ip.To4() == nil && strings.ToUpper(*dataOrigin) == "LEOMOEAPI" { - // IPv6 不使用 LeoMoeAPI - *dataOrigin = "ipinsight" - } - if strings.ToUpper(*dataOrigin) == "LEOMOEAPI" { w := wshandle.New() w.Interrupt = make(chan os.Signal, 1)