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 <adg@golang.org>
diff --git a/godoc/proxy/proxy.go b/godoc/proxy/proxy.go
index 5b331ee..e8cb18e 100644
--- a/godoc/proxy/proxy.go
+++ b/godoc/proxy/proxy.go
@@ -49,7 +49,7 @@
// 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