X-Git-Url: http://git.scottworley.com/reliable-chat/blobdiff_plain/2ee4581bb573fb3a3df74f9359a59d51ac41c483..HEAD:/server/server.go diff --git a/server/server.go b/server/server.go index c3bb593..bdfbf87 100644 --- a/server/server.go +++ b/server/server.go @@ -3,8 +3,7 @@ * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. + * published by the Free Software Foundation, version 3. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -184,6 +183,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) {