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 ✅"
|
out.Tag = "Hiddify Warp ✅"
|
||||||
if opt.Warp.Mode == "warp_over_proxy" {
|
if opt.Warp.Mode == "warp_over_proxy" {
|
||||||
out.WireGuardOptions.Detour = OutboundURLTestTag
|
out.WireGuardOptions.Detour = OutboundSelectTag
|
||||||
OutboundMainProxyTag = out.Tag
|
OutboundMainProxyTag = out.Tag
|
||||||
} else {
|
} else {
|
||||||
out.WireGuardOptions.Detour = OutboundDirectTag
|
out.WireGuardOptions.Detour = OutboundDirectTag
|
||||||
}
|
}
|
||||||
patchWarp(out, &opt, true,nil)
|
patchWarp(out, &opt, true, nil)
|
||||||
outbounds = append(outbounds, *out)
|
outbounds = append(outbounds, *out)
|
||||||
// tags = append(tags, out.Tag)
|
// tags = append(tags, out.Tag)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user