mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-21 16:16:31 +00:00
Fix webui option (#1519)
This commit is contained in:
parent
8dbfea75b1
commit
1fbb6d46ea
@ -250,7 +250,7 @@ class Addon(AddonModel):
|
|||||||
|
|
||||||
# lookup the correct protocol from config
|
# lookup the correct protocol from config
|
||||||
if t_proto:
|
if t_proto:
|
||||||
proto = "https" if self.options[t_proto] else "http"
|
proto = "https" if self.options.get(t_proto) else "http"
|
||||||
else:
|
else:
|
||||||
proto = s_prefix
|
proto = s_prefix
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user