From 97c8b05eee0ca799659e490c9c883d4517946d7a Mon Sep 17 00:00:00 2001 From: Eric Callahan Date: Fri, 19 Aug 2022 12:21:41 -0400 Subject: [PATCH] app: support binding to all interfaces Signed-off-by: Eric Callahan --- moonraker/app.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/moonraker/app.py b/moonraker/app.py index ef0d375..2f2594d 100644 --- a/moonraker/app.py +++ b/moonraker/app.py @@ -242,6 +242,8 @@ class MoonrakerApp: return expanded def listen(self, host: str, port: int, ssl_port: int) -> None: + if host.lower() == "all": + host = "" self.http_server = self.app.listen( port, address=host, max_body_size=MAX_BODY_SIZE, xheaders=True)