mirror of
https://github.com/1f349/orchid.git
synced 2024-09-07 19:06:55 +01:00
Update logger for running for API server
This commit is contained in:
parent
e92207172e
commit
01f15e27a3
@ -90,7 +90,7 @@ func normalLoad(conf startUpConfig, wd string) {
|
||||
}
|
||||
srv := servers.NewApiServer(conf.Listen, db, mJwtVerify, conf.Domains)
|
||||
logger.Logger.Info("Starting API server", "listen", srv.Addr)
|
||||
go utils.RunBackgroundHttp("API", srv)
|
||||
go utils.RunBackgroundHttp(logger.Logger, srv)
|
||||
|
||||
exit_reload.ExitReload("Violet", func() {}, func() {
|
||||
// stop renewal service and api server
|
||||
|
Loading…
Reference in New Issue
Block a user