app: support binding to all interfaces
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
parent
853de9e8cb
commit
97c8b05eee
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue