1
0
mirror of https://github.com/golang/go synced 2024-11-18 10:14:45 -07:00

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:
Andrew Gerrand 2016-05-02 09:01:04 -07:00
parent d4437bf597
commit f3109af80d

View File

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