mirror of
https://github.com/MatsuriDayo/nekoray.git
synced 2025-12-17 12:34:37 +03:00
gui: VLESS Flow
This commit is contained in:
@@ -39,6 +39,7 @@ namespace NekoRay::fmt {
|
||||
|
||||
if (!stream->sni.isEmpty()) query.addQueryItem("sni", stream->sni);
|
||||
if (stream->allow_insecure) query.addQueryItem("allowInsecure", "1");
|
||||
if (IS_NEKO_BOX && !stream->utlsFingerprint.isEmpty()) query.addQueryItem("fp", stream->utlsFingerprint);
|
||||
|
||||
if (security == "reality") {
|
||||
query.addQueryItem("pbk", stream->reality_pbk);
|
||||
@@ -60,6 +61,13 @@ namespace NekoRay::fmt {
|
||||
}
|
||||
}
|
||||
|
||||
// protocol
|
||||
if (proxy_type == proxy_VLESS) {
|
||||
if (!flow.isEmpty()) {
|
||||
query.addQueryItem("flow", flow);
|
||||
}
|
||||
}
|
||||
|
||||
url.setQuery(query);
|
||||
return url.toString(QUrl::FullyEncoded);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user