Permalink
Browse files

Set /datafeed content type to plaintext (#169)

  • Loading branch information...
kochman authored and garoller committed Oct 9, 2018
1 parent 1193e5c commit 421137f480d4d97941a17c6560176baf9a0fa105
Showing with 1 addition and 0 deletions.
  1. +1 −0 api/data_feed.go
View
@@ -14,6 +14,7 @@ func (api *API) DataFeedHandler(w http.ResponseWriter, r *http.Request) {
http.Error(w, "Last data feed response does not exist", http.StatusNotFound)
return
}
w.Header().Set("Content-Type", "text/plain")
_, err := w.Write(dfresp.Body)
if err != nil {
log.WithError(err).Error("unable to write")

0 comments on commit 421137f

Please sign in to comment.