diff --git a/cmd/strelaypoolsrv/main.go b/cmd/strelaypoolsrv/main.go index c280bce23..8d63f63f7 100644 --- a/cmd/strelaypoolsrv/main.go +++ b/cmd/strelaypoolsrv/main.go @@ -163,6 +163,7 @@ func main() { } func handleRequest(w http.ResponseWriter, r *http.Request) { + w.Header().Set("Access-Control-Allow-Origin", "*") switch r.Method { case "GET": if limit(r.RemoteAddr, getLRUCache, getMut, getLimit, int64(getLimitBurst)) {