Skip to content

Commit 4dc818a

Browse files
committed
Fix
1 parent 23e8866 commit 4dc818a

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

crates/launcher/src/main.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,10 @@ struct Args {
5656
/// Logging verbosity [OFF, ERROR, WARN, INFO, DEBUG, TRACE]
5757
#[arg(global = true, short, long, default_value_t = LevelFilter::Debug)]
5858
pub verbosity: LevelFilter,
59+
60+
/// The URL of the Nebraska server to use. Likely should end in `/v1/update`
61+
#[arg()]
62+
pub url: Url,
5963
}
6064

6165
fn main() {
@@ -76,7 +80,7 @@ fn main() {
7680
}
7781

7882
let r = query_and_fetch_yaml_document(
79-
&Url::parse("https://nebraska-poc-ep-cda8e2czfnhahxfk.b01.azurefd.net/v1/update").unwrap(),
83+
&args.url,
8084
"b0ec8f0d-1c13-4bf4-9efd-ea54464a7098",
8185
"west-us",
8286
&Version::new(0, 0, 0),

0 commit comments

Comments
 (0)