mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-03-29 21:13:33 +08:00
one new route registration
This commit is contained in:
parent
fe52843fe5
commit
1f70e1b71d
@ -857,6 +857,8 @@ class PromptServer():
|
||||
prompt_id = request.match_info.get("prompt_id", None)
|
||||
return web.json_response(self.prompt_queue.get_history(prompt_id=prompt_id))
|
||||
|
||||
@routes.get("/history_v2/{prompt_id}")(get_history_prompt_id)
|
||||
|
||||
@routes.get("/queue")
|
||||
async def get_queue(request):
|
||||
queue_info = {}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user