2dust / v2rayN

A GUI client for Windows and Linux, support Xray core and sing-box-core and others
https://1.2345345.xyz
GNU General Public License v3.0
70.98k stars 11.68k forks source link

[Bug]: xhttp custom config ignore when using custom configs #6216

Open ImMohammad20000 opened 16 hours ago

ImMohammad20000 commented 16 hours ago

预期情况

show the xhttp config

实际情况

xhttp custom config ignore when using custom configs subscription image image image

复现方法

1- add a subscription 2- update sub

日志信息

.

额外信息

if there is any other config the xhttp will ignore and not show if there isn't any other config xhttp will save into a yaml file!!! please add splithttp as alias for xhttp for backward compatibility

我确认已更新至最新版本

我确认已查询历史issues

2dust commented 11 hours ago

https://github.com/2dust/v2rayN/blob/master/v2rayN/ServiceLib/Handler/Fmt/V2rayFmt.cs

   if (v2rayConfig?.inbounds?.Count > 0
                && v2rayConfig.outbounds?.Count > 0
                && v2rayConfig.routing != null)

Your configuration file must contain the following code

ImMohammad20000 commented 11 hours ago

https://github.com/2dust/v2rayN/blob/master/v2rayN/ServiceLib/Handler/Fmt/V2rayFmt.cs

   if (v2rayConfig?.inbounds?.Count > 0
                && v2rayConfig.outbounds?.Count > 0
                && v2rayConfig.routing != null)

Your configuration file must contain the following code

It show in v2rayng in android but not in v2rayn