Skip to content

Commit

Permalink
godoc,cmd/getgo: update download links to dl.google.com
Browse files Browse the repository at this point in the history
Change-Id: Idd003c76edbf9d3ecf3354036e734386c55ed1f2
Reviewed-on: https://go-review.googlesource.com/89695
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
  • Loading branch information
andybons committed Jan 25, 2018
1 parent f86b507 commit 25101aa
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion cmd/getgo/download.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (

const (
currentVersionURL = "https://golang.org/VERSION?m=text"
downloadURLPrefix = "https://storage.googleapis.com/golang"
downloadURLPrefix = "https://dl.google.com/go"
)

// downloadGoVersion downloads and upacks the specific go version to dest/go.
Expand Down
2 changes: 1 addition & 1 deletion cmd/getgo/server/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
)

const (
base = "https://storage.googleapis.com/golang/getgo/"
base = "https://dl.google.com/go/getgo/"
windowsInstaller = base + "installer.exe"
linuxInstaller = base + "installer_linux"
macInstaller = base + "installer_darwin"
Expand Down
4 changes: 2 additions & 2 deletions godoc/static/godocs.js
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ function setupInlinePlayground() {
code.on('keyup', resize);
code.keyup(); // resize now.
};

// If example already visible, set up playground now.
if ($(el).is(':visible')) {
setup();
Expand Down Expand Up @@ -284,7 +284,7 @@ function personalizeInstallInstructions() {
$('.testWindows').show();
}

var download = "https://storage.googleapis.com/golang/" + filename;
var download = "https://dl.google.com/go/" + filename;

var message = $('<p class="downloading">'+
'Your download should begin shortly. '+
Expand Down
4 changes: 2 additions & 2 deletions godoc/static/static.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 25101aa

Please sign in to comment.