This commit is contained in:
thecooltechguy 2023-10-19 23:52:51 -07:00
parent b3361a5c6e
commit 8fb76e8d9a
2 changed files with 920 additions and 716 deletions

View File

@ -531,7 +531,6 @@ def check_custom_nodes_installed(json_obj, do_fetch=False, do_update_check=True,
elif do_update_check:
print(f"\x1b[2K\rUpdate check done.")
@server.PromptServer.instance.routes.get("/customnode/getmappings")
async def fetch_customnode_mappings(request):
if request.rel_url.query["mode"] == "local":
@ -1196,6 +1195,14 @@ async def channel_url_list(request):
return web.Response(status=200)
@server.PromptServer.instance.routes.post("/manager/share")
async def share_art(request):
# get json data
json_data = await request.json()
print(json_data)
return web.Response(status=200)
WEB_DIRECTORY = "js"
NODE_CLASS_MAPPINGS = {}
__all__ = ['NODE_CLASS_MAPPINGS']

File diff suppressed because it is too large Load Diff