playground: fix share URL
The baseURL is used to construct the target URLs for both /compile and /share. When I changed it recently, I forgot about the latter case. Change-Id: Icde617b1cc3d31d98ca4b62e313b9d886253f1cc Reviewed-on: https://go-review.googlesource.com/22689 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
parent
d4437bf597
commit
f3109af80d
|
@ -15,7 +15,7 @@ import (
|
||||||
"net/http"
|
"net/http"
|
||||||
)
|
)
|
||||||
|
|
||||||
const baseURL = "https://golang.org/compile?output=json"
|
const baseURL = "https://golang.org"
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
http.HandleFunc("/compile", bounce)
|
http.HandleFunc("/compile", bounce)
|
||||||
|
|
Loading…
Reference in New Issue