Change default port from 3001 to 3000
This commit is contained in:
parent
5a574ab52d
commit
6e504a5742
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue