mirror of
https://github.com/hrfee/jfa-go.git
synced 2025-01-03 15:00:12 +00:00
add message when web ui is loaded
a lack of output after "Loading routes" was a little confusing.
This commit is contained in:
parent
4b11bbe21f
commit
e931c09a34
5
main.go
5
main.go
@ -602,6 +602,11 @@ func start(asDaemon, firstCall bool) {
|
|||||||
app.err.Printf("Failure serving: %s", err)
|
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)
|
app.quit = make(chan os.Signal)
|
||||||
signal.Notify(app.quit, os.Interrupt)
|
signal.Notify(app.quit, os.Interrupt)
|
||||||
|
Loading…
Reference in New Issue
Block a user