Change default port from 3001 to 3000

This commit is contained in:
Rodrigo Rodriguez (Pragmatismo) 2025-12-11 08:43:40 -03:00
parent 5a574ab52d
commit 6e504a5742

View file

@ -19,7 +19,7 @@ async fn main() -> std::io::Result<()> {
let port: u16 = std::env::var("BOTUI_PORT")
.ok()
.and_then(|p| p.parse().ok())
.unwrap_or(3001);
.unwrap_or(3000);
let addr = std::net::SocketAddr::from(([0, 0, 0, 0], port));
let listener = tokio::net::TcpListener::bind(addr).await?;
info!("UI server listening on {}", addr);