Skip to content

Commit

Permalink
files to os-system step5: fix bugs when os-system-ed
Browse files Browse the repository at this point in the history
  • Loading branch information
lovehunter9 committed Jul 24, 2024
1 parent 19b8392 commit 3c6a6f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/gateway/pkg/proxy/backend_proxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ func rewriteUrl(path string, pvc string, prefix string) string {
klog.Info("firstHalf=", firstHalf)
klog.Info("secondHalf=", secondHalf)

if strings.HasSuffix(secondHalf, pvc) {
if strings.HasSuffix(firstHalf, pvc) {
return path
}
if splitName == "/Home" {
Expand Down

0 comments on commit 3c6a6f1

Please sign in to comment.