mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-11-19 11:16:59 +08:00
remove server.py changes to separate PRt
This commit is contained in:
parent
a750e38824
commit
1228faf086
14
server.py
14
server.py
@ -360,20 +360,6 @@ class PromptServer():
|
|||||||
|
|
||||||
return web.Response(status=200)
|
return web.Response(status=200)
|
||||||
|
|
||||||
@routes.post("/clipspace/copy")
|
|
||||||
async def clipspace_copy(request):
|
|
||||||
import execution
|
|
||||||
json_data = await request.json()
|
|
||||||
self.clipspace = execution.outputs[json_data['node_id']]
|
|
||||||
|
|
||||||
@routes.post("/clipspace/paste")
|
|
||||||
async def clipspace_copy(request):
|
|
||||||
# todo...
|
|
||||||
import execution
|
|
||||||
json_data = await request.json()
|
|
||||||
id = json_data['node_id']
|
|
||||||
print(self.clipspace)
|
|
||||||
|
|
||||||
def add_routes(self):
|
def add_routes(self):
|
||||||
self.app.add_routes(self.routes)
|
self.app.add_routes(self.routes)
|
||||||
self.app.add_routes([
|
self.app.add_routes([
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user