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

This commit is contained in:
Nicholas Ngai 2025-10-17 11:21:33 -07:00
parent c0137caad7
commit e7835015ff
No known key found for this signature in database
GPG key ID: 65358B5A905963F4
4 changed files with 6 additions and 6 deletions

2
dist/setup/index.js vendored
View file

@ -94583,7 +94583,7 @@ function getInfoFromDist(versionSpec, arch) {
if (!version) {
return null;
}
const downloadUrl = `https://storage.googleapis.com/golang/${version.files[0].filename}`;
const downloadUrl = `https://dl.google.com/go/${version.files[0].filename}`;
return {
type: 'dist',
downloadUrl: downloadUrl,