Skip to content

Commit

Permalink
PORT env var
Browse files Browse the repository at this point in the history
  • Loading branch information
ragibkl committed Mar 7, 2024
1 parent ce5e699 commit c17cf82
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 @@ -47,7 +47,7 @@ struct Args {
config_url: FileOrUrl,

/// Sets a custom listener port
#[arg(short, long, value_name = "PORT", default_value = "53")]
#[arg(short, long, env, value_name = "PORT", default_value = "53")]
port: u16,

/// Sets a custom forward resolvers
Expand Down

0 comments on commit c17cf82

Please sign in to comment.