web panel updated

This commit is contained in:
asoseil 2017-10-16 22:53:04 +02:00
parent ef799f7ae7
commit db722a9e98
2 changed files with 23 additions and 22 deletions

File diff suppressed because one or more lines are too long

View File

@ -131,6 +131,7 @@ func (s *Server) start(p *cli.Context) (err error) {
//websocket
e.GET("/ws", s.projects)
e.HideBanner = true
e.Debug = false
go e.Start(string(s.parent.Server.Host) + ":" + strconv.Itoa(s.parent.Server.Port))
_, err = s.openURL("http://" + string(s.parent.Server.Host) + ":" + strconv.Itoa(s.parent.Server.Port))
if err != nil {