fix windows standalone build

This commit is contained in:
doctorpangloss 2025-07-17 14:18:01 -07:00
parent 526f175302
commit 9376830295
2 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@ DEFAULT_VERSION_STRING = "comfyanonymous/ComfyUI@latest"
def _create_parser() -> EnhancedConfigArgParser:
parser = EnhancedConfigArgParser(default_config_files=['config.yaml', 'config.json'],
parser = EnhancedConfigArgParser(default_config_files=['config.yaml', 'config.json', 'config.cfg', 'config.ini'],
auto_env_var_prefix='COMFYUI_',
args_for_setting_config_path=["-c", "--config"],
add_env_var_help=True, add_config_file_help=True, add_help=True,

View File

@ -1205,7 +1205,7 @@ class PromptServer(ExecutorToClientProgress):
if verbose:
logger.info(f"Server ready. To see the GUI go to: http://{address_print}:{port}")
if call_on_start is not None:
call_on_start(address, port)
call_on_start("http", address, port)
def add_on_prompt_handler(self, handler):
self.on_prompt_handlers.append(handler)