Update V2rayConfigHandler.cs
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user