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

This commit is contained in:
gVisor bot 2021-01-30 00:40:35 +08:00
parent be5a2a9adf
commit 6f1fb2ffb5

View File

@ -12,7 +12,7 @@ import (
) )
func downloadMMDB(path string) (err error) { 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 { if err != nil {
return return
} }