server fix

This commit is contained in:
alessio 2017-03-20 01:14:06 +01:00
parent e88c08c44b
commit f8fb01f459
1 changed files with 1 additions and 1 deletions

View File

@ -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,