mirror of
https://github.com/alibaba/higress.git
synced 2026-05-23 20:27:29 +08:00
Add Kling provider support (#3742)
Signed-off-by: wydream <yaodiwu618@gmail.com>
This commit is contained in:
@@ -131,9 +131,7 @@ func MapRequestPathByCapability(apiName string, originPath string, mapping map[s
|
||||
continue
|
||||
}
|
||||
id := subMatch[index]
|
||||
mappedPathOnly = r.regx.ReplaceAllStringFunc(mappedPathOnly, func(s string) string {
|
||||
return strings.Replace(s, "{"+r.key+"}", id, 1)
|
||||
})
|
||||
mappedPathOnly = strings.Replace(mappedPathOnly, "{"+r.key+"}", id, 1)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user