mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-02-05 01:50:27 +08:00
Enhance logging and error handling in dashboard scripts
- Added detailed console logs in api.js to trace the execution flow during data loading and UI updates. - Improved logging in main.js to monitor the initialization process and server mode data loading. - Updated explorer.js to clarify the definition of defaultCliTool, indicating its location in another module.
This commit is contained in:
@@ -604,7 +604,7 @@ export async function startServer(options = {}) {
|
||||
const content = readFileSync(assetPath);
|
||||
res.writeHead(200, {
|
||||
'Content-Type': contentType,
|
||||
'Cache-Control': 'public, max-age=31536000'
|
||||
'Cache-Control': 'no-cache, must-revalidate'
|
||||
});
|
||||
res.end(content);
|
||||
return;
|
||||
|
||||
6
ccw/src/templates/assets/js/lucide.min.js
vendored
6
ccw/src/templates/assets/js/lucide.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -13,7 +13,7 @@ let explorerExpandedDirs = new Set();
|
||||
let updateTaskQueue = [];
|
||||
let isTaskQueueVisible = false;
|
||||
let isTaskRunning = false;
|
||||
let defaultCliTool = 'gemini'; // Default CLI tool for updates
|
||||
// Note: defaultCliTool is defined in components/cli-status.js
|
||||
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user