Use https for play.golang.org, now required

This commit is contained in:
Mark McGranaghan 2016-06-05 14:28:32 -07:00
parent 5e4afa4f3e
commit 5fa2fcc49b

View File

@ -137,7 +137,7 @@ func parseHashFile(sourcePath string) (string, string) {
func resetUrlHashFile(codehash, code, sourcePath string) string {
payload := strings.NewReader(code)
resp, err := http.Post("http://play.golang.org/share", "text/plain", payload)
resp, err := http.Post("https://play.golang.org/share", "text/plain", payload)
if err != nil {
panic(err)
}