diff --git a/vendor/github.com/mailhog/MailHog-Server/api/v2.go b/vendor/github.com/mailhog/MailHog-Server/api/v2.go index 4ef0c405..dbec10d3 100644 --- a/vendor/github.com/mailhog/MailHog-Server/api/v2.go +++ b/vendor/github.com/mailhog/MailHog-Server/api/v2.go @@ -116,7 +116,7 @@ func (apiv2 *APIv2) messages(w http.ResponseWriter, req *http.Request) { res.Total = apiv2.config.Storage.Count() bytes, _ := json.Marshal(res) - w.Header().Add("Content-Type", "text/json") + w.Header().Add("Content-Type", "application/json") w.Write(bytes) }