fix warp over proxy bug
This commit is contained in:
@@ -541,12 +541,12 @@ func BuildConfig(opt ConfigOptions, input option.Options) (*option.Options, erro
|
||||
}
|
||||
out.Tag = "Hiddify Warp ✅"
|
||||
if opt.Warp.Mode == "warp_over_proxy" {
|
||||
out.WireGuardOptions.Detour = OutboundURLTestTag
|
||||
out.WireGuardOptions.Detour = OutboundSelectTag
|
||||
OutboundMainProxyTag = out.Tag
|
||||
} else {
|
||||
out.WireGuardOptions.Detour = OutboundDirectTag
|
||||
}
|
||||
patchWarp(out, &opt, true,nil)
|
||||
patchWarp(out, &opt, true, nil)
|
||||
outbounds = append(outbounds, *out)
|
||||
// tags = append(tags, out.Tag)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user