diff --git a/web/server.go b/web/server.go index 93ef00f..79a29f6 100644 --- a/web/server.go +++ b/web/server.go @@ -90,6 +90,7 @@ func NewServer(cfg config.FrontendConfig, hs *honeypot.HoneypotServer, store sto 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) }) }) s.Handler = r