mirror of https://github.com/goproxyio/goproxy
update sum domain
parent
0aabdb55f7
commit
05e870cc9a
|
@ -20,7 +20,7 @@ var supportedSumDB = []string{
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
go func() {
|
go func() {
|
||||||
p := "https://sum.google.com"
|
p := "https://sum.golang.org"
|
||||||
_, err := http.Get(p)
|
_, err := http.Get(p)
|
||||||
if err == nil {
|
if err == nil {
|
||||||
enableGoogleSumDB = true
|
enableGoogleSumDB = true
|
||||||
|
|
Loading…
Reference in New Issue