Skip to content

Commit

Permalink
chore: use new default server port
Browse files Browse the repository at this point in the history
  • Loading branch information
matteodev8 committed Jan 24, 2025
1 parent 6088e21 commit 753cfbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ fn main() -> Result<()> {
let default_addr = String::from("127.0.0.1");

let address = args.get(1).unwrap_or(&default_addr);
let port: u16 = args.get(2).map_or(8080, |p| p.parse().unwrap_or(8080));
let port: u16 = args.get(2).map_or(52800, |p| p.parse().unwrap_or(52800));

let host = (address.clone(), port);

Expand Down

0 comments on commit 753cfbe

Please sign in to comment.