Skip to content

Commit f129809

Browse files
committed
fix: resolve docs tree from content root
1 parent 618f71f commit f129809

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

app/api/docs-tree/route.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ async function buildTree(
8989
export async function GET() {
9090
const cwd = process.cwd();
9191
const candidates = [
92+
path.join(cwd, "content", "docs"),
9293
path.join(cwd, "app", "docs"),
9394
path.join(cwd, "src", "app", "docs"),
9495
];

0 commit comments

Comments
 (0)