Don't specify peer port
All checks were successful
CI / Formatting (push) Successful in 1m33s

Using a port of 0 and letting the OS choose for us means that we can run multiple peers locally
This commit is contained in:
Michael Bradley 2025-07-05 23:04:46 -04:00
parent c29344ba6d
commit 9ab8db41de
Signed by: MichaelBradley
SSH key fingerprint: SHA256:o/aaeYtRubILK7OYYjYP12DmU7BsPUhKji1AgaQ+ge4
2 changed files with 3 additions and 3 deletions

View file

@ -20,7 +20,7 @@ pub struct AppSettings {
source: Source,
/// The port the app should listen for connections on
#[arg(short, long, default_value = "25565")]
#[arg(short, long, default_value = "0")]
port: u16,
}