mirror of
https://github.com/siteboon/claudecodeui.git
synced 2026-03-06 14:37:38 +00:00
Fixing maximum depth of directories
This commit is contained in:
@@ -506,7 +506,7 @@ app.get('/api/projects/:projectName/files', authenticateToken, async (req, res)
|
|||||||
return res.status(404).json({ error: `Project path not found: ${actualPath}` });
|
return res.status(404).json({ error: `Project path not found: ${actualPath}` });
|
||||||
}
|
}
|
||||||
|
|
||||||
const files = await getFileTree(actualPath, 3, 0, true);
|
const files = await getFileTree(actualPath, 10, 0, true);
|
||||||
const hiddenFiles = files.filter(f => f.name.startsWith('.'));
|
const hiddenFiles = files.filter(f => f.name.startsWith('.'));
|
||||||
res.json(files);
|
res.json(files);
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
|||||||
Reference in New Issue
Block a user