mirror of
https://github.com/MatsuriDayo/nekoray.git
synced 2025-12-17 20:44:38 +03:00
gui: reality settings
This commit is contained in:
@@ -41,6 +41,13 @@ namespace NekoRay::fmt {
|
||||
{"fingerprint", fp},
|
||||
};
|
||||
}
|
||||
if (!reality_pbk.trimmed().isEmpty()) {
|
||||
tls["reality"] = QJsonObject{
|
||||
{"enabled", true},
|
||||
{"public_key", reality_pbk},
|
||||
{"short_id", reality_sid},
|
||||
};
|
||||
}
|
||||
outbound->insert("tls", tls);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user