From 5f4149a2f88286f58e7e043291075422c9686f6d Mon Sep 17 00:00:00 2001 From: Andrew Gerrand Date: Fri, 25 Jul 2014 11:12:51 +1000 Subject: 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 --- blog/blog.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'blog') 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, -- cgit v1.2.3