Files
homeassistant-stelloauth-addon/stelloauth/patches/cloakserve-loopback.patch

15 lines
410 B
Diff

diff --git a/bin/cloakserve b/bin/cloakserve
index 0e545b2..04354aa 100755
--- a/bin/cloakserve
+++ b/bin/cloakserve
@@ -903,8 +903,7 @@ def main() -> None:
port,
)
- in_container = os.path.exists("/.dockerenv") or os.path.exists("/run/.containerenv")
- host = "0.0.0.0" if in_container else "127.0.0.1"
+ host = "127.0.0.1"
web.run_app(app, host=host, port=port, print=None)