mirror of https://github.com/2dust/v2rayN
Update V2rayConfigHandler.cs
parent
b487dcf448
commit
e2de9b4703
|
@ -472,9 +472,16 @@ namespace v2rayN.Handler
|
||||||
usersItem.encryption = config.security();
|
usersItem.encryption = config.security();
|
||||||
//if xtls
|
//if xtls
|
||||||
if (config.streamSecurity() == Global.StreamSecurityX)
|
if (config.streamSecurity() == Global.StreamSecurityX)
|
||||||
|
{
|
||||||
|
if (Utils.IsNullOrEmpty(config.flow()))
|
||||||
|
{
|
||||||
|
usersItem.flow = "xtls-rprx-origin";
|
||||||
|
}
|
||||||
|
else
|
||||||
{
|
{
|
||||||
usersItem.flow = config.flow();
|
usersItem.flow = config.flow();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
//Mux
|
//Mux
|
||||||
outbound.mux.enabled = config.muxEnabled;
|
outbound.mux.enabled = config.muxEnabled;
|
||||||
|
|
Loading…
Reference in New Issue