aboutsummaryrefslogtreecommitdiffstats
path: root/swarm/api
diff options
context:
space:
mode:
Diffstat (limited to 'swarm/api')
-rw-r--r--swarm/api/http/server.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/swarm/api/http/server.go b/swarm/api/http/server.go
index a61696678..ae113750f 100644
--- a/swarm/api/http/server.go
+++ b/swarm/api/http/server.go
@@ -82,6 +82,7 @@ func StartHttpServer(api *api.Api, server *Server) {
AllowedOrigins: allowedOrigins,
AllowedMethods: []string{"POST", "GET", "DELETE", "PATCH", "PUT"},
MaxAge: 600,
+ AllowedHeaders: []string{"*"},
})
hdlr := c.Handler(serveMux)