Skip to content

Commit 468a4fa

Browse files
committed
playground: Update snippet-store address.
1 parent 90dc928 commit 468a4fa

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

playground/playground.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ type Line map[string]string
2121

2222
var output []Line
2323

24-
const snippetStoreHost = "snippets.gotools.org"
24+
const snippetStoreHost = "snippets.gopherjs.org"
2525

2626
func main() {
2727
var location = dom.GetWindow().Top().Location() // We might be inside an iframe, but want to use the location of topmost window.

playground/playground.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64928,7 +64928,7 @@ $packages["github.com/gopherjs/gopherjs.github.io/playground"] = (function() {
6492864928
var codeArea, fileSet, id, importContext, packages, pkgsReceived, pkgsToLoad, req, run;
6492964929
if (strings.HasPrefix($internalize(location.URLUtils.Object.hash, $String), "#/")) {
6493064930
id = $internalize(location.URLUtils.Object.hash, $String).substring(2);
64931-
req = xhr.NewRequest("GET", "http://snippets.gotools.org/p/" + id);
64931+
req = xhr.NewRequest("GET", "http://snippets.gopherjs.org/p/" + id);
6493264932
req.Object.responseType = $externalize("arraybuffer", $String);
6493364933
$go((function($b) {
6493464934
var $args = arguments, $r, $s = 0, $this = this, _r, data, err;
@@ -65132,7 +65132,7 @@ $packages["github.com/gopherjs/gopherjs.github.io/playground"] = (function() {
6513265132
}), funcType$1);
6513365133
scope.Object.share = $externalize((function() {
6513465134
var req$1;
65135-
req$1 = xhr.NewRequest("POST", "http://snippets.gotools.org/share");
65135+
req$1 = xhr.NewRequest("POST", "http://snippets.gopherjs.org/share");
6513665136
req$1.Object.responseType = $externalize("arraybuffer", $String);
6513765137
$go((function($b) {
6513865138
var $args = arguments, $r, $s = 0, $this = this, _r, data, err;
@@ -65169,7 +65169,7 @@ $packages["github.com/gopherjs/gopherjs.github.io/playground"] = (function() {
6516965169
event.PreventDefault();
6517065170
if (strings.HasPrefix($internalize(location.URLUtils.Object.hash, $String), "#/")) {
6517165171
id$1 = $internalize(location.URLUtils.Object.hash, $String).substring(2);
65172-
req$1 = xhr.NewRequest("GET", "http://snippets.gotools.org/p/" + id$1);
65172+
req$1 = xhr.NewRequest("GET", "http://snippets.gopherjs.org/p/" + id$1);
6517365173
req$1.Object.responseType = $externalize("arraybuffer", $String);
6517465174
$go((function($b) {
6517565175
var $args = arguments, $r, $s = 0, $this = this, _r, data, err;

0 commit comments

Comments
 (0)