diff options
author | Andrew Gerrand <adg@golang.org> | 2014-07-25 11:12:51 +1000 |
---|---|---|
committer | Andrew Gerrand <adg@golang.org> | 2014-07-25 11:12:51 +1000 |
commit | 5f4149a2f88286f58e7e043291075422c9686f6d (patch) | |
tree | 27e18dc7909379c15b832282bc674132eaa8a7e8 /blog | |
parent | 4c744a193fda7fb9959dc70f40d83f2fbc8aed00 (diff) |
go.blog: drop scheme from links
golang.org and its subdomains now serve HTTPS with a valid cert,
so we must support both HTTP and HTTPS.
TBR=bradfitz
R=golang-codereviews
CC=golang-codereviews
https://golang.org/cl/116270043
Diffstat (limited to 'blog')
-rw-r--r-- | blog/blog.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/blog/blog.go b/blog/blog.go index 76ca948..2fbf620 100644 --- a/blog/blog.go +++ b/blog/blog.go @@ -21,8 +21,8 @@ const hostname = "blog.golang.org" // default hostname for blog server var config = blog.Config{ Hostname: hostname, - BaseURL: "http://" + hostname, - GodocURL: "http://golang.org", + BaseURL: "//" + hostname, + GodocURL: "//golang.org", HomeArticles: 5, // articles to display on the home page FeedArticles: 10, // articles to include in Atom and JSON feeds PlayEnabled: true, |