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 {
|
||||
if (latency < 0) {
|
||||
return UNICODE_LRO + QObject::tr("Unavailable");
|
||||
return QObject::tr("Unavailable");
|
||||
} else if (latency > 0) {
|
||||
return UNICODE_LRO + QString("%1 ms").arg(latency);
|
||||
} else {
|
||||
|
||||
@@ -32,6 +32,7 @@ namespace NekoRay::fmt {
|
||||
url.setPort(serverPort);
|
||||
if (!name.isEmpty()) url.setFragment(name);
|
||||
if (!stream->sni.isEmpty()) query.addQueryItem("sni", stream->sni);
|
||||
if (stream->allow_insecure) query.addQueryItem("allowInsecure", "1");
|
||||
query.addQueryItem("security", stream->security);
|
||||
query.addQueryItem("type", stream->network);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user