mirror of
https://github.com/2dust/v2rayN.git
synced 2025-09-02 16:26:19 +00:00
Update V2rayConfigHandler.cs
This commit is contained in:
parent
b487dcf448
commit
e2de9b4703
1 changed files with 8 additions and 1 deletions
|
@ -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 a new issue