aboutsummaryrefslogtreecommitdiff
path: root/internal/pkgdoc
diff options
context:
space:
mode:
Diffstat (limited to 'internal/pkgdoc')
-rw-r--r--internal/pkgdoc/doc.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/pkgdoc/doc.go b/internal/pkgdoc/doc.go
index 75e556df..98d48a67 100644
--- a/internal/pkgdoc/doc.go
+++ b/internal/pkgdoc/doc.go
@@ -437,7 +437,7 @@ func (d *docs) ServeHTTP(w http.ResponseWriter, r *http.Request) {
suffix += "GOARCH=" + url.QueryEscape(goarch)
}
}
- http.Redirect(w, r, "https://pkg.go.dev/"+relpath+suffix, http.StatusTemporaryRedirect)
+ http.Redirect(w, r, "https://pkg.go.local/"+relpath+suffix, http.StatusTemporaryRedirect)
return
}