aboutsummaryrefslogtreecommitdiff
path: root/blog
diff options
context:
space:
mode:
authorAndrew Gerrand <adg@golang.org>2014-07-25 11:12:51 +1000
committerAndrew Gerrand <adg@golang.org>2014-07-25 11:12:51 +1000
commit5f4149a2f88286f58e7e043291075422c9686f6d (patch)
tree27e18dc7909379c15b832282bc674132eaa8a7e8 /blog
parent4c744a193fda7fb9959dc70f40d83f2fbc8aed00 (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.go4
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,