aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authorfxqnlr <[email protected]>2024-10-06 15:45:09 +0200
committerfxqnlr <[email protected]>2024-10-06 15:45:09 +0200
commit7740bf12633a3c7c2e461aa8b74c852efbb9318b (patch)
tree9d4f048540c123c0ca6426acdeb8f56c7083978c /src/main.rs
parent843414433d68b7a7d1b60f814621766bcfca2206 (diff)
parentae386a491b23cfbadc4da8680c8ebcb85310dcb5 (diff)
downloadwebol-main.tar
webol-main.tar.gz
webol-main.zip
Merge remote-tracking branch 'origin/conf'HEADmain
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs2
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?;