Skip to content

Commit

Permalink
Detect HTTPS WebUI on localhost (#2278)
Browse files Browse the repository at this point in the history
  • Loading branch information
RunDevelopment authored Oct 18, 2023
1 parent 84acbed commit 483d00e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/src/packages/chaiNNer_external/web_ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 483d00e

Please sign in to comment.