mirror of
https://github.com/actix/examples
synced 2024-11-23 22:41:07 +01:00
Merge pull request #794 from mpalmer/patch-1
Correct startup log message for unix-server
This commit is contained in:
commit
1d32be3679
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user