From 324c0d4f5343c9568ad330c08bf03f34440ad02d Mon Sep 17 00:00:00 2001 From: Matt Palmer Date: Wed, 10 Apr 2024 11:57:05 +1000 Subject: [PATCH] Correct startup log message for unix-server I was momentarily confused about where the example was actually listening. --- unix-socket/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unix-socket/src/main.rs b/unix-socket/src/main.rs index 423673f..a8d6485 100644 --- a/unix-socket/src/main.rs +++ b/unix-socket/src/main.rs @@ -9,7 +9,7 @@ async fn index(_req: HttpRequest) -> &'static str { async fn main() -> std::io::Result<()> { env_logger::init_from_env(env_logger::Env::new().default_filter_or("info")); - log::info!("starting HTTP server at http://localhost:8080"); + log::info!("starting HTTP server at unix:/tmp/actix-uds.socket"); HttpServer::new(|| { App::new()