1
0
mirror of https://github.com/golang/go synced 2024-11-18 17:54:57 -07:00

playground: hit golang.org/compile endpoint instead of play.golang.org

Not sure why this was originally going via the playground. It needn't.

Change-Id: I40b5886a56ba4b941ff74f4bc325625412d7eaff
Reviewed-on: https://go-review.googlesource.com/22497
Reviewed-by: Andrew Gerrand <adg@golang.org>
This commit is contained in:
Andrew Gerrand 2016-04-27 15:24:22 +10:00
parent 53006ac4c2
commit 1f1b3322f6

View File

@ -15,7 +15,7 @@ import (
"net/http" "net/http"
) )
const baseURL = "http://play.golang.org" const baseURL = "https://golang.org/compile?output=json"
func init() { func init() {
http.HandleFunc("/compile", bounce) http.HandleFunc("/compile", bounce)