diff --git a/cmd/srv.go b/cmd/srv.go index 603391b..aae32d5 100644 --- a/cmd/srv.go +++ b/cmd/srv.go @@ -60,6 +60,7 @@ func main() { response := processRequest(r) copyHeader(w.Header(), response.Header) + w.Header().Set("Access-Control-Allow-Origin", "*") w.WriteHeader(response.StatusCode) w.Write(response.Body) })