From 6f1fb2ffb52fe7d935014a3d337402ceebc42687 Mon Sep 17 00:00:00 2001 From: gVisor bot Date: Sat, 30 Jan 2021 00:40:35 +0800 Subject: [PATCH] Chore: use jsdelivr CDN for Country.mmdb (#1057) --- config/initial.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/initial.go b/config/initial.go index 7c876162b..a2da9384b 100644 --- a/config/initial.go +++ b/config/initial.go @@ -12,7 +12,7 @@ import ( ) func downloadMMDB(path string) (err error) { - resp, err := http.Get("https://github.com/Dreamacro/maxmind-geoip/releases/latest/download/Country.mmdb") + resp, err := http.Get("https://cdn.jsdelivr.net/gh/Dreamacro/maxmind-geoip@release/Country.mmdb") if err != nil { return }