From 13bec4ff0deab82567f0bc547ccba4e1c48acf30 Mon Sep 17 00:00:00 2001 From: Alex Vanin Date: Fri, 25 Oct 2024 16:45:31 +0300 Subject: [PATCH] Enable CORS in HTTP Gateway --- http-gw/http-gw-config.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/http-gw/http-gw-config.yaml b/http-gw/http-gw-config.yaml index c11a43a..7370d63 100644 --- a/http-gw/http-gw-config.yaml +++ b/http-gw/http-gw-config.yaml @@ -34,3 +34,7 @@ peers: weight: 1 rpc_endpoint: http://localhost:30333 + +cors: + allow_origin: "*" + allow_headers: ["*"]