From 6bfa8b0d218181e50e1638300f736ae6709a6675 Mon Sep 17 00:00:00 2001 From: Marcos Lilljedahl Date: Wed, 24 Jan 2018 00:58:11 -0300 Subject: [PATCH] Add ee-beta site --- handlers/bootstrap.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/handlers/bootstrap.go b/handlers/bootstrap.go index bc1af60..f79dd0e 100644 --- a/handlers/bootstrap.go +++ b/handlers/bootstrap.go @@ -56,7 +56,7 @@ func Register(extend HandlerExtender) { r := mux.NewRouter() corsRouter := mux.NewRouter() - corsHandler := gh.CORS(gh.AllowCredentials(), gh.AllowedHeaders([]string{"x-requested-with", "content-type"}), gh.AllowedMethods([]string{"GET", "POST", "HEAD", "DELETE"}), gh.AllowedOrigins([]string{"http://training.play-with-docker.com", "http://play-with-moby.com", "http://ee-labs.play-with-docker.com", "*"})) + corsHandler := gh.CORS(gh.AllowCredentials(), gh.AllowedHeaders([]string{"x-requested-with", "content-type"}), gh.AllowedMethods([]string{"GET", "POST", "HEAD", "DELETE"}), gh.AllowedOrigins([]string{"http://training.play-with-docker.com", "http://play-with-moby.com", "http://ee-labs.play-with-docker.com", "http://ee-beta-labs.play-with-docker.com"})) // Specific routes r.HandleFunc("/ping", Ping).Methods("GET")