mirror of
https://github.com/MatsuriDayo/nekoray.git
synced 2025-12-17 20:44:38 +03:00
fix flow
This commit is contained in:
@@ -155,6 +155,13 @@ namespace NekoGui_fmt {
|
||||
|
||||
QJsonObject settings;
|
||||
if (proxy_type == proxy_VLESS) {
|
||||
if (flow.right(7) == "-udp443") {
|
||||
// 检查末尾是否包含"-udp443",如果是,则删去
|
||||
flow.chop(7);
|
||||
} else if (flow == "none") {
|
||||
// 不使用 flow
|
||||
flow = "";
|
||||
}
|
||||
outbound["uuid"] = password.trimmed();
|
||||
outbound["flow"] = flow;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user