소스 검색

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)


불러오는 중...
취소
저장