1
0
mirror of https://github.com/actix/examples synced 2025-06-30 02:24:59 +02:00

fix db/basic

This commit is contained in:
Rob Ede
2022-02-06 08:19:35 +00:00
parent 8ae47c8cda
commit a4d43c0ff8
12 changed files with 112 additions and 103 deletions

View File

@ -8,7 +8,7 @@ async fn index(req: HttpRequest) -> &'static str {
}
async fn run_app(tx: mpsc::Sender<ServerHandle>) -> std::io::Result<()> {
log::info!("starting HTTP serer at http://localhost:8080");
log::info!("starting HTTP server at http://localhost:8080");
// srv is server controller type, `dev::Server`
let server = HttpServer::new(|| {