mirror of
https://github.com/Qv2ray/Qv2ray.git
synced 2025-05-20 10:50:23 +08:00
fixing a bug, credit to @lhy0403
This commit is contained in:
parent
3013c0f015
commit
c1e8fd138b
@ -181,7 +181,7 @@ namespace Qv2ray
|
||||
// Config API
|
||||
apiFailedCounter = 0;
|
||||
this->apiPort = conf.apiConfig.statsPort;
|
||||
auto channelAddress = "127.0.0.1" + QString::number(apiPort);
|
||||
auto channelAddress = "127.0.0.1:" + QString::number(apiPort);
|
||||
#ifdef WITH_LIB_GRPCPP
|
||||
Channel = grpc::CreateChannel(channelAddress.toStdString(), grpc::InsecureChannelCredentials());
|
||||
StatsService service;
|
||||
|
Loading…
Reference in New Issue
Block a user