1
0
Fork 0

Send Access-Control-Allow-Origin header

This commit is contained in:
Gregory Eremin 2015-10-28 02:27:44 +03:00
parent a01ae441bc
commit 8c587201f4
1 changed files with 1 additions and 0 deletions

View File

@ -34,6 +34,7 @@ func (s *Server) History(rw http.ResponseWriter, _ *http.Request) {
return return
} }
rw.Header().Add("Access-Control-Allow-Origin", "*")
rw.Write(encoded) rw.Write(encoded)
} }