From c8a7bf3239b470908afe4596f79ffde430400937 Mon Sep 17 00:00:00 2001 From: RunDevelopment Date: Wed, 18 Oct 2023 13:45:03 +0200 Subject: [PATCH] Detect HTTPS WebUI on localhost --- backend/src/packages/chaiNNer_external/web_ui.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/packages/chaiNNer_external/web_ui.py b/backend/src/packages/chaiNNer_external/web_ui.py index 13b69e427..4dc685217 100644 --- a/backend/src/packages/chaiNNer_external/web_ui.py +++ b/backend/src/packages/chaiNNer_external/web_ui.py @@ -99,7 +99,7 @@ def from_env(): if protocol: protocol = [protocol] else: - protocol = ["http"] if host == "127.0.0.1" else ["https", "http"] + protocol = ["https", "http"] if port: port = [port]