This commit is contained in:
azw 2024-05-08 04:08:17 +00:00
parent ec5cfbdeb3
commit 2766b0d649
2 changed files with 2 additions and 2 deletions

View File

@ -319,7 +319,7 @@ fn main() {
.app_data(counter.clone()) // <- register the created data .app_data(counter.clone()) // <- register the created data
.route("/", web::get().to(index)) .route("/", web::get().to(index))
}) })
.bind(("127.0.0.1", 8080))? .bind(("0.0.0.0", 8080))?
.run() .run()
.await .await
}); });

2
third_party/librust vendored

@ -1 +1 @@
Subproject commit af0cae3d246dc2ac6a4729c7fc6ce9ee7630d029 Subproject commit 3146caeaf2effb3cd5ede9e13fcd61e5e448dc8d