fix singbox endpoints proxy chain not work

This commit is contained in:
DHR60 2025-04-12 13:37:51 +08:00
parent 736ba9e52c
commit e3831d1695
2 changed files with 2 additions and 0 deletions

View file

@ -40,6 +40,7 @@ public class Route4Sbox
public bool? auto_detect_interface { get; set; }
public List<Rule4Sbox> rules { get; set; }
public List<Ruleset4Sbox>? rule_set { get; set; }
public string? final { get; set; }
}
[Serializable]

View file

@ -1118,6 +1118,7 @@ public class CoreConfigSingboxService
{
try
{
singboxConfig.route.final = Global.ProxyTag;
singboxConfig.route.rules.Insert(0, new()
{
outbound = Global.DirectTag,