From 5b3fc37aedc6d0883f807df97f5f368a4be77195 Mon Sep 17 00:00:00 2001 From: Hiddify Date: Wed, 14 Feb 2024 16:24:40 +0100 Subject: [PATCH] =?UTF-8?q?new:=20filter=20tags=20includes=20=C2=A7hide?= =?UTF-8?q?=C2=A7=20for=20example=20for=20detour?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/config.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/config.go b/config/config.go index 47e7414..8ffa796 100644 --- a/config/config.go +++ b/config/config.go @@ -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) }