fixed web server option in config file
This commit is contained in:
parent
55198da4be
commit
21be6f2759
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user