Fall back to downloading from go.dev/dl instead of storage.googleapis.com/golang (#665)

* Fall back to downloading from dl.google.com/go instead of storage.googleapis.com/golang

* Use go.dev/dl instead
This commit is contained in:
Nicholas Ngai authored and GitHub committed 2025-10-27 15:43:21 -05:00
1 parent c0137caad7
commit 7bc60db215
4 files changed
+6 -6

No files matched your search

+1 -1
View File
@@ -389,7 +389,7 @@ async function getInfoFromDist(
return null;
}
const downloadUrl = `https://storage.googleapis.com/golang/${version.files[0].filename}`;
const downloadUrl = `https://go.dev/dl/${version.files[0].filename}`;
return <IGoVersionInfo>{
type: 'dist',