diff --git a/server/http_handler.go b/server/http_handler.go index b3678df..42e7a09 100644 --- a/server/http_handler.go +++ b/server/http_handler.go @@ -147,5 +147,8 @@ func (h *houstonHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) { reflect.ValueOf(r), } + w.Header().Set("Access-Control-Allow-Origin", "*") + w.Header().Set("Access-Control-Allow-Headers", "Content-Type") + method.Func.Call(args) }