diff --git a/stats/server.go b/stats/server.go index 6d6ff41..b62db17 100644 --- a/stats/server.go +++ b/stats/server.go @@ -34,6 +34,7 @@ func (s *Server) History(rw http.ResponseWriter, _ *http.Request) { return } + rw.Header().Add("Access-Control-Allow-Origin", "*") rw.Write(encoded) }