add message when web ui is loaded

a lack of output after "Loading routes" was a little confusing.
This commit is contained in:
Harvey Tindall 2021-05-21 21:39:32 +01:00
parent 4b11bbe21f
commit e931c09a34
Signed by: hrfee
GPG Key ID: BBC65952848FB1A2
1 changed files with 5 additions and 0 deletions

View File

@ -602,6 +602,11 @@ func start(asDaemon, firstCall bool) {
app.err.Printf("Failure serving: %s", err)
}
}
if firstRun {
app.info.Printf("Loaded, visit %s to start.", address)
} else {
app.info.Printf("Loaded @ %s", address)
}
}()
app.quit = make(chan os.Signal)
signal.Notify(app.quit, os.Interrupt)