浏览代码

fix registration url

master
Jonathan Cobb 4 年前
父节点
当前提交
07cab63b61
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      src/admin.rs

+ 2
- 2
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)


正在加载...
取消
保存