fix: parse config issues

This commit is contained in:
Hiddify
2024-08-06 22:45:01 -04:00
parent b389963aa8
commit f31899c269
6 changed files with 9 additions and 4 deletions

View File

@@ -159,7 +159,7 @@ func patchWarp(base *option.Outbound, configOpt *ConfigOptions, final bool, stat
var warpConfig *T.Outbound
var err error
if configOpt == nil && (key == "p1" || key == "p2") {
if (configOpt == nil || !final) && (key == "p1" || key == "p2") {
warpConfig = base
return nil
} else if key == "p1" {