diff options
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index edee184..7878669 100644 --- a/src/main.rs +++ b/src/main.rs | |||
@@ -120,7 +120,7 @@ async fn main() -> color_eyre::eyre::Result<()> { | |||
120 | .merge(SwaggerUi::new("/swagger-ui").url("/api-docs/openapi.json", ApiDoc::openapi())) | 120 | .merge(SwaggerUi::new("/swagger-ui").url("/api-docs/openapi.json", ApiDoc::openapi())) |
121 | .with_state(Arc::new(shared_state)); | 121 | .with_state(Arc::new(shared_state)); |
122 | 122 | ||
123 | let addr = config.serveraddr; | 123 | let addr = config.addr; |
124 | info!("start server on {}", addr); | 124 | info!("start server on {}", addr); |
125 | let listener = tokio::net::TcpListener::bind(addr).await?; | 125 | let listener = tokio::net::TcpListener::bind(addr).await?; |
126 | axum::serve(listener, app).await?; | 126 | axum::serve(listener, app).await?; |