Skip to content

Commit

Permalink
restrict canonicalize_url to webui process
Browse files Browse the repository at this point in the history
  • Loading branch information
ljleb authored Feb 1, 2024
1 parent 3ffdf5b commit 38c2b42
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib_comfyui/webui/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 38c2b42

Please sign in to comment.