diff --git a/packages/gateway/pkg/proxy/backend_proxy.go b/packages/gateway/pkg/proxy/backend_proxy.go index c3caa9f..8a8bcd1 100644 --- a/packages/gateway/pkg/proxy/backend_proxy.go +++ b/packages/gateway/pkg/proxy/backend_proxy.go @@ -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() }