fix: Fix the incorrect rewrite config generated for Nacos 3 MCP Servers (#2211)

This commit is contained in:
Kent Dong
2025-05-12 14:30:37 +08:00
committed by GitHub
parent 8b3f1aab1a
commit c683936b1c

View File

@@ -748,9 +748,6 @@ func (w *watcher) buildVirtualServiceForMcpServer(serviceentry *v1alpha3.Service
},
},
}},
Rewrite: &v1alpha3.HTTPRewrite{
Uri: path,
},
Route: []*v1alpha3.HTTPRouteDestination{{
Destination: &v1alpha3.Destination{
Host: serviceentry.Hosts[0],