mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-02-28 09:23:08 +08:00
feat: extend file routes to include explorer API endpoints
This commit is contained in:
@@ -599,9 +599,10 @@ export async function startServer(options: ServerOptions = {}): Promise<http.Ser
|
||||
if (await handleSessionRoutes(routeContext)) return;
|
||||
}
|
||||
|
||||
// Files routes (/api/files, /api/file, /api/file-content, /api/update-claude-md)
|
||||
// Files routes (/api/files, /api/file, /api/file-content, /api/update-claude-md, /api/explorer/*)
|
||||
if (pathname === '/api/files' || pathname === '/api/file' ||
|
||||
pathname === '/api/file-content' || pathname === '/api/update-claude-md') {
|
||||
pathname === '/api/file-content' || pathname === '/api/update-claude-md' ||
|
||||
pathname.startsWith('/api/explorer/')) {
|
||||
if (await handleFilesRoutes(routeContext)) return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user