1
0
mirror of https://github.com/actix/examples synced 2024-11-27 16:02:57 +01:00

Merge pull request #794 from mpalmer/patch-1

Correct startup log message for unix-server
This commit is contained in:
Rob Ede 2024-04-10 10:19:02 +00:00 committed by GitHub
commit 1d32be3679
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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()