Skip to content

Commit

Permalink
updated
Browse files Browse the repository at this point in the history
  • Loading branch information
ismoilovdevml committed Oct 16, 2023
1 parent 237b3c6 commit 1d090d8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ mod utils;

#[tokio::main]
pub async fn main() -> Result<(), io::Error> {
let matches = App::new("Another Rust Load Balancer")
let matches = App::new("RustStrom")
.version("1.0")
.about("It's basically just another rust load balancer")
.about("Rust-Strom is a powerful and efficient Load Balancer")
.arg(
Arg::with_name("config")
.short("c")
Expand Down Expand Up @@ -93,7 +93,7 @@ async fn serve_metrics() -> Result<(), io::Error> {
});

warp::serve(metrics_route)
.run(([127, 0, 0, 1], 9091)) // <- You can change the IP and port as needed
.run(([0, 0, 0, 0], 9091))
.await;

Ok(())
Expand Down

0 comments on commit 1d090d8

Please sign in to comment.