Option to not start browser (fixes #84)

This commit is contained in:
Jakob Borg
2014-03-08 23:19:33 +01:00
parent 0ebd4a6ba1
commit a88e4db1ee
5 changed files with 175 additions and 167 deletions

View File

@@ -209,7 +209,9 @@ func main() {
infof("Starting web GUI on http://%s:%d/", hostShow, addr.Port)
startGUI(cfg.Options.GUIAddress, m)
openURL(fmt.Sprintf("http://%s:%d", hostOpen, addr.Port))
if cfg.Options.StartBrowser {
openURL(fmt.Sprintf("http://%s:%d", hostOpen, addr.Port))
}
}
}