feat/ui:add /mcp url rewrite rule

This commit is contained in:
riverLethe committed 2025-07-25 22:27:20 +08:00
1 parent e1fdbdd026
commit b548f2494d
1 file changed
+4
+4
View File
@@ -29,6 +29,10 @@ const nextConfig = {
source: "/uploads/:path*",
destination: `${process.env.NEXT_PUBLIC_API_URL || "http://127.0.0.1:8001"}/uploads/:path*`,
},
{
source: "/mcp/:path*",
destination: `${process.env.NEXT_PUBLIC_API_URL || "http://127.0.0.1:8001"}/mcp/:path*`,
},
];
},