Skip to content

Commit

Permalink
fix rename bug
Browse files Browse the repository at this point in the history
  • Loading branch information
lovehunter9 committed Jul 29, 2024
1 parent cf58fee commit ec5f5ff
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/gateway/pkg/proxy/backend_proxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,7 @@ func (p *BackendProxy) Next(c echo.Context) *middleware.ProxyTarget {
dst := query.Get("destination")
if dst != "" {
dst = rewriteUrl(dst, cachePvc, "/AppData")
dst = strings.Replace(dst, "/"+node[0], "", 1)
query.Set("destination", dst)
c.Request().URL.RawQuery = query.Encode()
}
Expand Down

0 comments on commit ec5f5ff

Please sign in to comment.