Skip to content

Commit 5fa595b

Browse files
committed
chore(dev-hub) fix
1 parent 008415c commit 5fa595b

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

apps/developer-hub/next.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ const config = {
44
reactStrictMode: true,
55
pageExtensions: ["ts", "tsx", "mdx"],
66
outputFileTracingIncludes: {
7-
"/": ["./content/docs/**"],
7+
"/*": ["./content/docs/**"],
88
},
99

1010
logging: {

apps/developer-hub/src/app/llms.txt/route.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,9 @@ export async function GET() {
3030
"Cache-Control": "public, max-age=3600", // Cache for 1 hour
3131
},
3232
});
33-
} catch {
33+
} catch (error) {
34+
// eslint-disable-next-line no-console
35+
console.error('LLM Text route error:', error);
3436
return new NextResponse("Internal server error", { status: 500 });
3537
}
3638
}

apps/developer-hub/src/app/mdx/[...slug]/route.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@ export async function GET(
2424
"Cache-Control": "public, max-age=3600", // Cache for 1 hour
2525
},
2626
});
27-
} catch {
27+
} catch (error) {
28+
// eslint-disable-next-line no-console
29+
console.error('MDX route error:', error);
2830
return new NextResponse("Internal server error", { status: 500 });
2931
}
3032
}

0 commit comments

Comments
 (0)