From 453b69590118541c0df68d6db454e9511c8d3adc Mon Sep 17 00:00:00 2001 From: Peter Stuifzand Date: Sat, 8 Sep 2018 20:26:19 +0200 Subject: [PATCH] Try other headers --- cmd/eksterd/microsub.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/eksterd/microsub.go b/cmd/eksterd/microsub.go index 947bf9a..689cde3 100644 --- a/cmd/eksterd/microsub.go +++ b/cmd/eksterd/microsub.go @@ -47,7 +47,7 @@ func (h *microsubHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) { if r.Method == http.MethodOptions { w.Header().Add("Access-Control-Allow-Origin", "*") w.Header().Add("Access-Control-Allow-Methods", "GET, POST") - w.Header().Add("Access-Control-Allow-Headers", "authorization,cache-control") + w.Header().Add("Access-Control-Allow-Headers", "Authorization, Cache-Control") return }