Ver a proveniência

fix registration url

master
Jonathan Cobb há 4 anos
ascendente
cometimento
07cab63b61
1 ficheiros alterados com 2 adições e 2 eliminações
  1. +2
    -2
      src/admin.rs

+ 2
- 2
src/admin.rs Ver ficheiro

@@ -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)


Carregando…
Cancelar
Guardar