From fcc594ae266767b41b86e94b8376297684d4f282 Mon Sep 17 00:00:00 2001 From: Loyalsoldier <10487845+Loyalsoldier@users.noreply.github.com> 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 7c876162..a2da9384 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 }