app: support binding to all interfaces

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
Eric Callahan committed 2022-08-19 12:21:41 -04:00
1 parent 853de9e8cb
commit 97c8b05eee
1 file changed
+2
+2
View File
@@ -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)