diff --git a/swarm/api/http/server.go b/swarm/api/http/server.go index 0507d92154..c8e79ab4ec 100644 --- a/swarm/api/http/server.go +++ b/swarm/api/http/server.go @@ -55,6 +55,8 @@ type sequentialReader struct { lock sync.Mutex } +// Server is the basic configuration needs for the HTTP server and also +// includes CORS settings. type Server struct { Addr string CorsString string