From 5433ce446e46d8481428889a6bf11582009696ee Mon Sep 17 00:00:00 2001 From: huyz-git <22879638+huyz-git@users.noreply.github.com> Date: Mon, 19 Apr 2021 15:11:11 +0800 Subject: [PATCH] update zx ipv6 database address --- pkg/zxipv6wry/update.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/zxipv6wry/update.go b/pkg/zxipv6wry/update.go index a7aca37..0008965 100644 --- a/pkg/zxipv6wry/update.go +++ b/pkg/zxipv6wry/update.go @@ -16,7 +16,7 @@ func Download(filePath string) (data []byte, err error) { data, err = getData() if err != nil { log.Printf("ZX IPv6数据库下载失败,请手动下载解压后保存到本地: %s \n", filePath) - log.Println("下载链接: https://www.zxinc.org/ip.7z") + log.Println("下载链接: https://ip.zxinc.org/ip.7z") return } common.ExistThenRemove(filePath) @@ -28,7 +28,7 @@ func Download(filePath string) (data []byte, err error) { } func getData() (data []byte, err error) { - resp, err := http.Get("https://www.zxinc.org/ip.7z") + resp, err := http.Get("https://ip.zxinc.org/ip.7z") if err != nil { return nil, err }