feat: add logging on server starting (#372)
parent
65836ee199
commit
fc9a623e72
|
|
@ -125,6 +125,7 @@ pub async fn main(config: &Config, args: &ServeArgs) {
|
|||
)
|
||||
});
|
||||
|
||||
info!("Starting server, this might takes a few minutes...");
|
||||
let app = Router::new()
|
||||
.merge(SwaggerUi::new("/swagger-ui").url("/api-docs/openapi.json", ApiDoc::openapi()))
|
||||
.nest("/v1", api_router(args, config))
|
||||
|
|
|
|||
Loading…
Reference in New Issue