修改端口
This commit is contained in:
parent
b1a906ec18
commit
cd82cc0692
@ -71,7 +71,7 @@ int main()
|
|||||||
const int local_http_port = 2980;
|
const int local_http_port = 2980;
|
||||||
|
|
||||||
// 建议也从 config 里读;这里先保留你的固定值
|
// 建议也从 config 里读;这里先保留你的固定值
|
||||||
const std::string tunnel_server = "ws://36.153.162.171:2088/tunnel";
|
const std::string tunnel_server = "ws://36.153.162.171:2288/tunnel";
|
||||||
|
|
||||||
// 用 unique_ptr 管理生命周期
|
// 用 unique_ptr 管理生命周期
|
||||||
g_tunnel_client = std::make_unique<TunnelClient>(vid, tunnel_server, local_http_port);
|
g_tunnel_client = std::make_unique<TunnelClient>(vid, tunnel_server, local_http_port);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user