From 25885b8e08252db20f2a50e64184b6a59e546a73 Mon Sep 17 00:00:00 2001 From: fx Date: Fri, 13 Oct 2023 15:26:05 +0200 Subject: stuff --- src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/main.rs b/src/main.rs index bb37dc2..e6c746c 100644 --- a/src/main.rs +++ b/src/main.rs @@ -51,7 +51,7 @@ async fn main() { .route("/device", post(post_device)) .with_state(shared_state); - // run it with hyper on localhost:3000 + // TODO: Add to config axum::Server::bind(&"0.0.0.0:3000".parse().unwrap()) .serve(app.into_make_service()) .await @@ -76,4 +76,4 @@ async fn init_db_pool() -> PgPool { info!("dbPool successfully connected to '{}'", db_url); pool -} \ No newline at end of file +} -- cgit v1.2.3