Commit bd44353e authored by Janoš Guljaš's avatar Janoš Guljaš Committed by GitHub

add content-type header to debug api /topology endpoint (#216)

parent 8f780e3a
......@@ -27,5 +27,6 @@ func (s *server) topologyHandler(w http.ResponseWriter, r *http.Request) {
jsonhttp.InternalServerError(w, err)
return
}
w.Header().Set("Content-Type", jsonhttp.DefaultContentTypeHeader)
_, _ = io.Copy(w, bytes.NewBuffer(b))
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment