diff --git a/version.go b/version.go index 3c113e2..0a3e9da 100644 --- a/version.go +++ b/version.go @@ -5,7 +5,7 @@ import ( "runtime" ) -var Version = "v0.1.5" +var Version = "v0.1.6" var Build string func FullVersion() string { diff --git a/web/server.go b/web/server.go index a1b1a1c..a983edd 100644 --- a/web/server.go +++ b/web/server.go @@ -90,7 +90,6 @@ func NewServer(cfg config.FrontendConfig, hs *honeypot.HoneypotServer, store sto r.Get("/*", s.IndexHandler("web/vue-frontend/dist")) r.Get("/stream", s.HandlerAttemptStream) r.Route("/api", func(r chi.Router) { - r.Use(middleware.SetHeader("Content-Type", "application/json")) r.Get("/stats", s.HandlerStats) r.Get("/stream", s.HandlerAttemptStream) r.Get("/query", s.HandlerQuery)