From 9ae4729fba20b3533d829a9c6ba8195b068f2abc Mon Sep 17 00:00:00 2001 From: Andrew Gerrand Date: Thu, 19 May 2016 16:23:57 +1000 Subject: [PATCH] godoc/proxy: use HTTPS when bouncing through to the playground Fixes golang/go#15692 Change-Id: I0d0731b249de9399b972c8ee9cf9e0f355d4fcc0 Reviewed-on: https://go-review.googlesource.com/23241 Reviewed-by: Andrew Gerrand --- godoc/proxy/proxy.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/godoc/proxy/proxy.go b/godoc/proxy/proxy.go index 5b331ee80f..e8cb18eb33 100644 --- a/godoc/proxy/proxy.go +++ b/godoc/proxy/proxy.go @@ -49,7 +49,7 @@ const ( // sensitive and it only travels across Google's internal network // so we should be OK. sandboxURL = "http://sandbox.golang.org/compile" - playgroundURL = "http://play.golang.org" + playgroundURL = "https://play.golang.org" ) const expires = 7 * 24 * time.Hour // 1 week