diff --git a/src/admin.rs b/src/admin.rs index 6573490..13bd8cc 100644 --- a/src/admin.rs +++ b/src/admin.rs @@ -87,8 +87,8 @@ async fn handle_register(registration : AdminRegistration, // PUT it and see if it worked let client = reqwest::Client::new(); - let url = format!("https://{}/me/flexRouters", registration.bubble); - + let url = format!("https://{}/api/me/flexRouters", registration.bubble); + println!("handle_register: registering ourself with {}", url); match client.put(url.as_str()) .header(HEADER_BUBBLE_SESSION, registration.session) .json(&bubble_registration)