mirror of
https://github.com/1f349/orchid.git
synced 2024-11-09 23:02:53 +00:00
Log the api server address on startup
This commit is contained in:
parent
5f70d07f90
commit
2f5e74d3f4
@ -88,7 +88,8 @@ func normalLoad(conf startUpConfig, wd string) {
|
||||
log.Fatal("[Orchid] Error:", err)
|
||||
}
|
||||
srv := servers.NewApiServer(conf.Listen, db, mJwtVerify, conf.Domains)
|
||||
utils.RunBackgroundHttp("API", srv)
|
||||
log.Printf("[API] Starting API server on: '%s'\n", srv.Addr)
|
||||
go utils.RunBackgroundHttp("API", srv)
|
||||
|
||||
// Wait for exit signal
|
||||
sc := make(chan os.Signal, 1)
|
||||
|
Loading…
Reference in New Issue
Block a user