aboutsummaryrefslogtreecommitdiffstats
path: root/rpc/http.go
diff options
context:
space:
mode:
Diffstat (limited to 'rpc/http.go')
-rw-r--r--rpc/http.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/rpc/http.go b/rpc/http.go
index 7d4fe5d47..5a0770231 100644
--- a/rpc/http.go
+++ b/rpc/http.go
@@ -171,6 +171,7 @@ func newCorsHandler(srv *Server, corsString string) http.Handler {
AllowedOrigins: allowedOrigins,
AllowedMethods: []string{"POST", "GET"},
MaxAge: 600,
+ AllowedHeaders: []string{"*"},
})
return c.Handler(srv)
}