Skip to content

Commit

Permalink
Add docker.com CORS support
Browse files Browse the repository at this point in the history
  • Loading branch information
marcosnils committed Mar 29, 2019
1 parent f7350b0 commit 9191273
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions handlers/bootstrap.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 9191273

Please sign in to comment.