Skip to content

Commit

Permalink
fix: Fix incorrect default port number
Browse files Browse the repository at this point in the history
  • Loading branch information
donovanglover committed Dec 15, 2023
1 parent 107dd9d commit 14e585b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ pub enum Commands {
/// of a systemd-nspawn container.
Server {
/// Port number to use for the sakaya server
#[arg(short, long, default_value_t = 34943)]
#[arg(short, long, default_value_t = 39493)]
port: u16,
},
}
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ fn main() {

None => {
if is_container() {
start_server(ip, 34943)
start_server(ip, 39493)
} else if let Some(file) = file {
client::exec(address, &file, directory.to_str().unwrap());
} else {
Expand Down

0 comments on commit 14e585b

Please sign in to comment.