Skip to content

Commit 27f6a91

Browse files
authored
MCP: next update (#912)
1 parent f5a3a99 commit 27f6a91

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

docs/next.config.mjs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@ const config = {
1111
},
1212
// Include OpenAPI files in output tracing for Vercel deployments
1313
outputFileTracingIncludes: {
14-
'/api/**/*': ['./openapi/**/*'],
15-
'/**/*': ['./openapi/**/*'],
14+
'/**/*': ['./content/**/*', './openapi/**/*'],
1615
},
1716
async redirects() {
1817
return [

docs/src/app/api/internal/[transport]/route.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -248,8 +248,8 @@ const handler = createMcpHandler(
248248
});
249249

250250
try {
251-
const instructionsPath = "content/setup-instructions.md";
252-
const instructions = await readFile(instructionsPath, "utf-8");
251+
const instructionsFromCurrentFile = "content/setup-instructions.md";
252+
const instructions = await readFile(instructionsFromCurrentFile, "utf-8");
253253

254254
return {
255255
content: [

0 commit comments

Comments
 (0)