fixed web server option in config file

This commit is contained in:
alessio 2016-11-21 23:03:19 +01:00
parent 55198da4be
commit 21be6f2759

View File

@ -2,6 +2,7 @@ package server
import (
"encoding/json"
"fmt"
"github.com/labstack/echo"
"github.com/labstack/echo/middleware"
c "github.com/tockins/realize/settings"
@ -92,6 +93,8 @@ func (s *Server) Start(p *cli.Context) (err error) {
return err
}
}
} else {
s.Server.Enabled = false
}
return nil
}