server fix
This commit is contained in:
parent
e88c08c44b
commit
f8fb01f459
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue