Undeprecate the block outbound

This commit is contained in:
世界 committed 2025-05-04 18:45:53 +08:00
1 parent 7dea6eb7a6
commit 8b489354e4
3 files changed
+1 -9

No files matched your search

+1 -1
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)