소스 검색

try passing port as string

master
Jonathan Cobb 4 년 전
부모
커밋
675fa23608
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. +2
    -2
      src/admin.rs

+ 2
- 2
src/admin.rs 파일 보기

@@ -31,7 +31,7 @@ struct AdminRegistration {
#[derive(Debug, Deserialize, Serialize, Clone)]
struct BubbleRegistration {
ip: String,
port: u16,
port: String,
auth_token: String
}

@@ -86,7 +86,7 @@ async fn handle_register(registration : AdminRegistration,
// create the registration object
let bubble_registration = BubbleRegistration {
ip: proxy_ip,
port: proxy_port,
port: proxy_port.to_string(),
auth_token: token
};



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