From 91912732aab6a0de0dd2435abcbbb39eac2e04c0 Mon Sep 17 00:00:00 2001 From: Marcos Lilljedahl Date: Thu, 28 Mar 2019 23:18:59 -0300 Subject: [PATCH] Add docker.com CORS support --- handlers/bootstrap.go | 1 + 1 file changed, 1 insertion(+) diff --git a/handlers/bootstrap.go b/handlers/bootstrap.go index a0e92d8..00573ef 100644 --- a/handlers/bootstrap.go +++ b/handlers/bootstrap.go @@ -61,6 +61,7 @@ func Register(extend HandlerExtender) { if strings.Contains(origin, "localhost") || strings.HasSuffix(origin, "play-with-docker.com") || strings.HasSuffix(origin, "play-with-kubernetes.com") || + strings.HasSuffix(origin, "docker.com") || strings.HasSuffix(origin, "play-with-moby.com") { return true }