fixed args index
This commit is contained in:
@@ -27,7 +27,7 @@ async fn flatten<T>(
|
||||
async fn main() -> Result<(), Box<dyn Error + Send + Sync>> {
|
||||
let args: Vec<String> = env::args().collect();
|
||||
|
||||
let server_url = &args[1];
|
||||
let server_url = &args[0];
|
||||
|
||||
// Registration
|
||||
let (server_id, ip) = match api::register_with_server(&server_url).await {
|
||||
|
Reference in New Issue
Block a user