mirror of
https://github.com/actix/examples
synced 2025-06-28 18:00:37 +02:00
fix db/basic
This commit is contained in:
@ -69,7 +69,7 @@ async fn main() -> std::io::Result<()> {
|
||||
let forward_url = Url::parse(&forward_url).unwrap();
|
||||
|
||||
log::info!(
|
||||
"starting HTTP serer at http://{}:{}",
|
||||
"starting HTTP server at http://{}:{}",
|
||||
&args.listen_addr,
|
||||
args.listen_port
|
||||
);
|
||||
|
@ -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(|| {
|
||||
|
Reference in New Issue
Block a user