From c683936b1cd17bbbd1608236410c3e62cff919e9 Mon Sep 17 00:00:00 2001 From: Kent Dong Date: Mon, 12 May 2025 14:30:37 +0800 Subject: [PATCH] fix: Fix the incorrect rewrite config generated for Nacos 3 MCP Servers (#2211) --- registry/nacos/mcpserver/watcher.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/registry/nacos/mcpserver/watcher.go b/registry/nacos/mcpserver/watcher.go index d6aa365fd..ec26be60a 100644 --- a/registry/nacos/mcpserver/watcher.go +++ b/registry/nacos/mcpserver/watcher.go @@ -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],