fix(mcp): honor configured OAuth base URL

This commit is contained in:
ajnart committed 2026-08-22 12:32:06 +02:00
1 parent 9b7a796934
commit 3ea74f12d2
9 files changed
+88 -12

No files matched your search

+4 -1
View File
@@ -67,7 +67,10 @@ const nextConfig: NextConfig = {
async rewrites() {
return [
{ source: "/.well-known/:path*", destination: "/well-known/:path*" },
{ source: "/api/mcp/:transport/.well-known/:path*", destination: "/well-known/:path*" },
{
source: "/api/mcp/:transport/.well-known/:path*",
destination: "/well-known/:path*/api/mcp/:transport",
},
];
},