MCPcopy Create free account
hub / github.com/6174/comflowyspace / ApiUpdateComfyUIAndRestart

Function ApiUpdateComfyUIAndRestart

apps/node/src/routes/api/bootstrap.ts:389–402  ·  view source on GitHub ↗
(req: Request, res: Response)

Source from the content-addressed store, hash-verified

387}
388
389export async function ApiUpdateComfyUIAndRestart(req: Request, res: Response) {
390 try {
391 await comfyuiService.updateComfyUI();
392 res.send({
393 success: true,
394 });
395 } catch (err: any) {
396 logger.error(err.message + ":" + err.stack);
397 res.send({
398 success: false,
399 error: err.message
400 });
401 }
402}

Callers

nothing calls this directly

Calls 1

updateComfyUIMethod · 0.80

Tested by

no test coverage detected