mirror of
https://github.com/MatsuriDayo/nekoray.git
synced 2025-12-17 20:44:38 +03:00
refactor: show default fingerprint in ui
Not add it to configuration in slient. fix(sub): add fingerprint for vmess
This commit is contained in:
committed by
arm64v8a
parent
6029b4236f
commit
a2fe70509b
@@ -136,7 +136,11 @@ namespace NekoGui_fmt {
|
||||
|
||||
if (!stream->sni.isEmpty()) query.addQueryItem("sni", stream->sni);
|
||||
if (stream->allow_insecure) query.addQueryItem("allowInsecure", "1");
|
||||
if (!stream->utlsFingerprint.isEmpty()) query.addQueryItem("fp", stream->utlsFingerprint);
|
||||
if (stream->utlsFingerprint.isEmpty()) {
|
||||
query.addQueryItem("fp", NekoGui::dataStore->utlsFingerprint);
|
||||
} else {
|
||||
query.addQueryItem("fp", stream->utlsFingerprint);
|
||||
}
|
||||
|
||||
if (security == "reality") {
|
||||
query.addQueryItem("pbk", stream->reality_pbk);
|
||||
|
||||
Reference in New Issue
Block a user