1
0
mirror of https://github.com/golang/go synced 2024-09-30 18:18:32 -06:00

playground: use play.golang.org instead of golang.org

Calling golang.org/{compile|share} just forwards it to
play.golang.org/{compile|share}. Avoid the extra jump for the
request.

Change-Id: I95e8e79fe4623346663d0c11204f196c75716177
Reviewed-on: https://go-review.googlesource.com/c/140839
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
This commit is contained in:
Andrew Bonventre 2018-10-09 17:22:08 -04:00
parent 9ae4309624
commit 29f11e2b93

View File

@ -17,7 +17,7 @@ import (
"time"
)
const baseURL = "https://golang.org"
const baseURL = "https://play.golang.org"
func init() {
http.HandleFunc("/compile", bounce)