From f8fb01f45969d87c1af2f4667b743d2cb8f6c81e Mon Sep 17 00:00:00 2001 From: alessio Date: Mon, 20 Mar 2017 01:14:06 +0100 Subject: [PATCH] server fix --- server/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/main.go b/server/main.go index c3a107f..d40605b 100644 --- a/server/main.go +++ b/server/main.go @@ -48,7 +48,7 @@ func render(c echo.Context, path string, mime int) error { // Start the web server func (s *Server) Start(p *cli.Context) (err error) { - if s.Status { + if s.Server.Status || p.Bool("server") { e := echo.New() e.Use(middleware.GzipWithConfig(middleware.GzipConfig{ Level: 2,