diff --git a/playground/playground.go b/playground/playground.go index 20ea8dd7..16dd8079 100644 --- a/playground/playground.go +++ b/playground/playground.go @@ -21,7 +21,7 @@ type Line map[string]string var output []Line -const snippetStoreHost = "snippets.gotools.org" +const snippetStoreHost = "snippets.gopherjs.org" func main() { var location = dom.GetWindow().Top().Location() // We might be inside an iframe, but want to use the location of topmost window. diff --git a/playground/playground.js b/playground/playground.js index a41ab8d5..46a0ab2d 100644 --- a/playground/playground.js +++ b/playground/playground.js @@ -64928,7 +64928,7 @@ $packages["github.com/gopherjs/gopherjs.github.io/playground"] = (function() { var codeArea, fileSet, id, importContext, packages, pkgsReceived, pkgsToLoad, req, run; if (strings.HasPrefix($internalize(location.URLUtils.Object.hash, $String), "#/")) { id = $internalize(location.URLUtils.Object.hash, $String).substring(2); - req = xhr.NewRequest("GET", "http://snippets.gotools.org/p/" + id); + req = xhr.NewRequest("GET", "http://snippets.gopherjs.org/p/" + id); req.Object.responseType = $externalize("arraybuffer", $String); $go((function($b) { var $args = arguments, $r, $s = 0, $this = this, _r, data, err; @@ -65132,7 +65132,7 @@ $packages["github.com/gopherjs/gopherjs.github.io/playground"] = (function() { }), funcType$1); scope.Object.share = $externalize((function() { var req$1; - req$1 = xhr.NewRequest("POST", "http://snippets.gotools.org/share"); + req$1 = xhr.NewRequest("POST", "http://snippets.gopherjs.org/share"); req$1.Object.responseType = $externalize("arraybuffer", $String); $go((function($b) { var $args = arguments, $r, $s = 0, $this = this, _r, data, err; @@ -65169,7 +65169,7 @@ $packages["github.com/gopherjs/gopherjs.github.io/playground"] = (function() { event.PreventDefault(); if (strings.HasPrefix($internalize(location.URLUtils.Object.hash, $String), "#/")) { id$1 = $internalize(location.URLUtils.Object.hash, $String).substring(2); - req$1 = xhr.NewRequest("GET", "http://snippets.gotools.org/p/" + id$1); + req$1 = xhr.NewRequest("GET", "http://snippets.gopherjs.org/p/" + id$1); req$1.Object.responseType = $externalize("arraybuffer", $String); $go((function($b) { var $args = arguments, $r, $s = 0, $this = this, _r, data, err;