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

Function ApiRestartComfyUI

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

Source from the content-addressed store, hash-verified

372}
373
374export async function ApiRestartComfyUI(req: Request, res: Response) {
375 try {
376 await comfyuiService.restartComfyUI();
377 res.send({
378 success: true,
379 });
380 } catch(err: any) {
381 logger.error(err.message + ":" + err.stack);
382 res.send({
383 success: false,
384 error: err.message
385 });
386 }
387}
388
389export async function ApiUpdateComfyUIAndRestart(req: Request, res: Response) {
390 try {

Callers

nothing calls this directly

Calls 1

restartComfyUIMethod · 0.80

Tested by

no test coverage detected