This commit is contained in:
guochao 2024-02-27 11:05:07 +08:00
parent cca4750530
commit ddfd521f4a
Signed by: guochao
GPG Key ID: 79F7306D2AA32FC3

View File

@ -40,7 +40,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
listen_address, listen_address,
listen_port, listen_port,
} => { } => {
let service = crate::web::routes::make_service()?; let service = ice_publicip_checker::web::routes::make_service()?;
tracing::info!(listen_address, listen_port, "app is service"); tracing::info!(listen_address, listen_port, "app is service");
let listener = let listener =
tokio::net::TcpListener::bind(format!("{listen_address}:{listen_port}")).await?; tokio::net::TcpListener::bind(format!("{listen_address}:{listen_port}")).await?;