X-Git-Url: http://git.scottworley.com/reliable-chat/blobdiff_plain/2ee4581bb573fb3a3df74f9359a59d51ac41c483..7310ffeebfda8540d2113fc8c846971a0f913d57:/server/server.go?ds=inline diff --git a/server/server.go b/server/server.go index c3bb593..963931f 100644 --- a/server/server.go +++ b/server/server.go @@ -184,6 +184,7 @@ func start_server(store Store) { now(), r.FormValue("id"), r.FormValue("text")} + w.Header().Add("Access-Control-Allow-Origin", "*") }) http.HandleFunc("/robots.txt", func(w http.ResponseWriter, r *http.Request) {