new: filter tags includes §hide§ for example for detour

This commit is contained in:
Hiddify
2024-02-14 16:24:40 +01:00
parent 62ae66238d
commit 5b3fc37aed

View File

@@ -408,6 +408,9 @@ func BuildConfig(opt ConfigOptions, input option.Options) (*option.Options, erro
case C.TypeCustom:
continue
default:
if strings.Contains(out.Tag, "§hide§") {
continue
}
tags = append(tags, out.Tag)
outbounds = append(outbounds, out)
}