mirror of
https://github.com/MatsuriDayo/nekoray.git
synced 2025-12-18 13:04:37 +03:00
fix
This commit is contained in:
@@ -121,7 +121,7 @@ namespace NekoRay {
|
|||||||
|
|
||||||
QString ProxyEntity::DisplayLatency() const {
|
QString ProxyEntity::DisplayLatency() const {
|
||||||
if (latency < 0) {
|
if (latency < 0) {
|
||||||
return UNICODE_LRO + QObject::tr("Unavailable");
|
return QObject::tr("Unavailable");
|
||||||
} else if (latency > 0) {
|
} else if (latency > 0) {
|
||||||
return UNICODE_LRO + QString("%1 ms").arg(latency);
|
return UNICODE_LRO + QString("%1 ms").arg(latency);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -32,6 +32,7 @@ namespace NekoRay::fmt {
|
|||||||
url.setPort(serverPort);
|
url.setPort(serverPort);
|
||||||
if (!name.isEmpty()) url.setFragment(name);
|
if (!name.isEmpty()) url.setFragment(name);
|
||||||
if (!stream->sni.isEmpty()) query.addQueryItem("sni", stream->sni);
|
if (!stream->sni.isEmpty()) query.addQueryItem("sni", stream->sni);
|
||||||
|
if (stream->allow_insecure) query.addQueryItem("allowInsecure", "1");
|
||||||
query.addQueryItem("security", stream->security);
|
query.addQueryItem("security", stream->security);
|
||||||
query.addQueryItem("type", stream->network);
|
query.addQueryItem("type", stream->network);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user