From 9ec2db8a0fe7e0ad1fabf2829863e9731d3c5e45 Mon Sep 17 00:00:00 2001 From: Haitao Pan Date: Tue, 11 Nov 2025 11:59:19 +0800 Subject: [PATCH] fix(dashboard): resolve CMS content source paths in config MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Fix homepage and docs content source root paths from 'cms/content/*' to 'src/lib/cms/content/*' - Paths are relative to process.cwd() and need the full path from project root - Resolves ENOENT errors when reading markdown directories 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- dashboard/src/lib/cms/config.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dashboard/src/lib/cms/config.ts b/dashboard/src/lib/cms/config.ts index e019d4b..0e71545 100644 --- a/dashboard/src/lib/cms/config.ts +++ b/dashboard/src/lib/cms/config.ts @@ -36,11 +36,11 @@ export const cmsConfig: CmsConfig = { sources: { homepage: { type: 'filesystem', - root: 'cms/content/homepage', + root: 'src/lib/cms/content/homepage', }, docs: { type: 'filesystem', - root: 'cms/content/docs', + root: 'src/lib/cms/content/docs', }, marketing: { type: 'git',