From 38c2b420f337d9c9480f5f8bd9ee79bfeedf057e Mon Sep 17 00:00:00 2001 From: ljleb Date: Thu, 1 Feb 2024 07:13:18 -0500 Subject: [PATCH] restrict canonicalize_url to webui process --- lib_comfyui/webui/settings.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib_comfyui/webui/settings.py b/lib_comfyui/webui/settings.py index bc92bc6..92c9b1b 100644 --- a/lib_comfyui/webui/settings.py +++ b/lib_comfyui/webui/settings.py @@ -161,6 +161,7 @@ def get_comfyui_client_url(): return client_url +@ipc.restrict_to_process('webui') def canonicalize_url(input_url: str, default_port: int = 8189) -> str: from urllib.parse import urlparse, urlunparse from modules import shared