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 b550dd8..352023b 100644 --- a/src/main.rs +++ b/src/main.rs | |||
@@ -118,7 +118,7 @@ async fn main() -> color_eyre::eyre::Result<()> { | |||
118 | .merge(SwaggerUi::new("/swagger-ui").url("/api-docs/openapi.json", ApiDoc::openapi())) | 118 | .merge(SwaggerUi::new("/swagger-ui").url("/api-docs/openapi.json", ApiDoc::openapi())) |
119 | .with_state(Arc::new(shared_state)); | 119 | .with_state(Arc::new(shared_state)); |
120 | 120 | ||
121 | let addr = config.serveraddr; | 121 | let addr = config.addr; |
122 | info!("start server on {}", addr); | 122 | info!("start server on {}", addr); |
123 | let listener = tokio::net::TcpListener::bind(addr).await?; | 123 | let listener = tokio::net::TcpListener::bind(addr).await?; |
124 | axum::serve(listener, app).await?; | 124 | axum::serve(listener, app).await?; |