mirror of
https://github.com/siteboon/claudecodeui.git
synced 2026-02-19 15:17:34 +00:00
Merge pull request #337 from timbot/main
fix: prevent codex spawn error when codex CLI is not installed
This commit is contained in:
@@ -262,8 +262,7 @@ router.get('/mcp/config/read', async (req, res) => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!configData) {
|
if (!configData) {
|
||||||
return res.json({ success: false, message: 'No Codex configuration file found', servers: [] });
|
return res.json({ success: true, configPath, servers: [] }); }
|
||||||
}
|
|
||||||
|
|
||||||
const servers = [];
|
const servers = [];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user