Skip to content

Commit c2894fd

Browse files
Tasks/GoToolV0: fix download link
As of ~Go 1.22, the new go.dev domain is used to disburse downloads. All previous versions of Go are available at this link, as well. Signed-off-by: Steve Kuznetsov <[email protected]>
1 parent 8ac8573 commit c2894fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tasks/GoToolV0/gotool.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ function getFileName(version: string): string {
101101
}
102102

103103
function getDownloadUrl(filename: string): string {
104-
return util.format("https://storage.googleapis.com/golang/%s", filename);
104+
return util.format("https://go.dev/dl/%s", filename);
105105
}
106106

107107
function setGoEnvironmentVariables(goRoot: string) {

0 commit comments

Comments
 (0)