mirror of
https://github.com/Mahdi-zarei/nekoray.git
synced 2025-12-19 05:30:06 +08:00
fix
This commit is contained in:
parent
4e129a920b
commit
492552c722
@ -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);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user