feat/ui:add /mcp url rewrite rule
This commit is contained in:
1 parent
e1fdbdd026
commit
b548f2494d
1 file changed
+4
@@ -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*`,
|
||||
},
|
||||
];
|
||||
},
|
||||
|
||||
|
||||
Reference in new issue
Block a user