Undeprecate the block outbound

This commit is contained in:
世界
2025-05-04 18:45:46 +08:00
parent 7dea6eb7a6
commit 8b489354e4
3 changed files with 1 additions and 9 deletions

View File

@@ -39,7 +39,7 @@ func (h *Outbound) UnmarshalJSONContext(ctx context.Context, content []byte) err
return E.New("missing outbound options registry in context")
}
switch h.Type {
case C.TypeBlock, C.TypeDNS:
case C.TypeDNS:
deprecated.Report(ctx, deprecated.OptionSpecialOutbounds)
}
options, loaded := registry.CreateOptions(h.Type)