From b363a35a61f60f7908b8a31e8c3dcaba54183f61 Mon Sep 17 00:00:00 2001 From: Marcos Lilljedahl Date: Mon, 30 Apr 2018 10:23:22 -0300 Subject: [PATCH] Fix typo --- handlers/bootstrap.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/handlers/bootstrap.go b/handlers/bootstrap.go index 1464ecb..a0e92d8 100644 --- a/handlers/bootstrap.go +++ b/handlers/bootstrap.go @@ -60,7 +60,7 @@ func Register(extend HandlerExtender) { corsHandler := gh.CORS(gh.AllowCredentials(), gh.AllowedHeaders([]string{"x-requested-with", "content-type"}), gh.AllowedMethods([]string{"GET", "POST", "HEAD", "DELETE"}), gh.AllowedOriginValidator(func(origin string) bool { if strings.Contains(origin, "localhost") || strings.HasSuffix(origin, "play-with-docker.com") || - strings.HasSuffix(origin, "play-with-kuberentes.com") || + strings.HasSuffix(origin, "play-with-kubernetes.com") || strings.HasSuffix(origin, "play-with-moby.com") { return true }