feat: add log and defer task loading

This commit is contained in:
Simon Ding
2024-11-04 12:04:28 +08:00
parent 1e2d8b8520
commit b176253fc4
3 changed files with 4 additions and 1 deletions

View File

@@ -132,6 +132,7 @@ func (s *Server) Serve() error {
importlist.POST("/add", HttpHandler(s.addImportlist))
importlist.DELETE("/delete", HttpHandler(s.deleteImportList))
}
log.Infof("----------- Polaris Server Successfully Started ------------")
return s.r.Run(":8080")
}