浏览代码

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
};



正在加载...
取消
保存