diff options
author | fxqnlr <[email protected]> | 2024-10-06 15:45:09 +0200 |
---|---|---|
committer | fxqnlr <[email protected]> | 2024-10-06 15:45:09 +0200 |
commit | 7740bf12633a3c7c2e461aa8b74c852efbb9318b (patch) | |
tree | 9d4f048540c123c0ca6426acdeb8f56c7083978c /src/main.rs | |
parent | 843414433d68b7a7d1b60f814621766bcfca2206 (diff) | |
parent | ae386a491b23cfbadc4da8680c8ebcb85310dcb5 (diff) | |
download | webol-7740bf12633a3c7c2e461aa8b74c852efbb9318b.tar webol-7740bf12633a3c7c2e461aa8b74c852efbb9318b.tar.gz webol-7740bf12633a3c7c2e461aa8b74c852efbb9318b.zip |
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?; |