This commit is contained in:
thecooltechguy committed 2023-10-19 23:52:51 -07:00
1 parent b3361a5c6e
commit 8fb76e8d9a
2 files changed
+919 -715

No files matched your search

+8 -1
View File
@@ -531,7 +531,6 @@ def check_custom_nodes_installed(json_obj, do_fetch=False, do_update_check=True,
elif do_update_check: elif do_update_check:
print(f"\x1b[2K\rUpdate check done.") print(f"\x1b[2K\rUpdate check done.")
@server.PromptServer.instance.routes.get("/customnode/getmappings") @server.PromptServer.instance.routes.get("/customnode/getmappings")
async def fetch_customnode_mappings(request): async def fetch_customnode_mappings(request):
if request.rel_url.query["mode"] == "local": if request.rel_url.query["mode"] == "local":
@@ -1196,6 +1195,14 @@ async def channel_url_list(request):
return web.Response(status=200) 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" WEB_DIRECTORY = "js"
NODE_CLASS_MAPPINGS = {} NODE_CLASS_MAPPINGS = {}
__all__ = ['NODE_CLASS_MAPPINGS'] __all__ = ['NODE_CLASS_MAPPINGS']
+911 -714
View File
File diff suppressed because it is too large. Load diff
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.