From d7b2dc69ff51b96a7fe1be9dbfda464f3ff1dbb7 Mon Sep 17 00:00:00 2001 From: Marcos Lilljedahl Date: Mon, 19 Feb 2018 00:42:29 -0300 Subject: [PATCH] Fix Origins set in CORS headers --- handlers/bootstrap.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/handlers/bootstrap.go b/handlers/bootstrap.go index d9d7e76..5770bd1 100644 --- a/handlers/bootstrap.go +++ b/handlers/bootstrap.go @@ -62,7 +62,7 @@ func Register(extend HandlerExtender) { return true } return false - }), gh.AllowedHeaders([]string{})) + }), gh.AllowedOrigins([]string{})) // Specific routes r.HandleFunc("/ping", Ping).Methods("GET")