security policy is modified

MODIFIED: Fix custom nodes feature belongs to `high` level risky features
This commit is contained in:
Dr.Lt.Data
2024-10-07 08:58:47 +09:00
parent d289dd523a
commit 0469cad3bc
4 changed files with 5 additions and 4 deletions

View File

@@ -843,7 +843,7 @@ async def install_custom_node(request):
@PromptServer.instance.routes.post("/customnode/fix")
async def fix_custom_node(request):
if not is_allowed_security_level('middle'):
if not is_allowed_security_level('high'):
print(SECURITY_MESSAGE_MIDDLE_OR_BELOW)
return web.Response(status=403)