Chore: use jsdelivr CDN for Country.mmdb (#1057)

This commit is contained in:
Loyalsoldier 2021-01-30 00:40:35 +08:00 committed by GitHub
parent f4de055aa1
commit fcc594ae26
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
}