From b2f7ca0d1898e57bf2fa2e597e4db0af5bbc65c2 Mon Sep 17 00:00:00 2001 From: oobabooga <112222186+oobabooga@users.noreply.github.com> Date: Tue, 29 Aug 2023 19:54:43 -0700 Subject: [PATCH] Cloudfare fix 2 --- extensions/api/script.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/api/script.py b/extensions/api/script.py index e57aac92..12fd9cad 100644 --- a/extensions/api/script.py +++ b/extensions/api/script.py @@ -7,7 +7,7 @@ from modules import shared def setup(): blocking_api.start_server(shared.args.api_blocking_port, share=shared.args.public_api, tunnel_id=shared.args.public_api_id) - if shared.public_api: + if shared.args.public_api: time.sleep(5) streaming_api.start_server(shared.args.api_streaming_port, share=shared.args.public_api, tunnel_id=shared.args.public_api_id)