1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-17 10:42:21 +01:00

Allow specifying the dashboard bind address (#2787)

This commit is contained in:
Jesse Hills
2021-11-25 07:59:32 +13:00
committed by GitHub
parent 15cd602e8b
commit 7e8012c1a0
2 changed files with 10 additions and 3 deletions

View File

@@ -637,6 +637,12 @@ def parse_args(argv):
type=int,
default=6052,
)
parser_dashboard.add_argument(
"--address",
help="The address to bind to.",
type=str,
default="0.0.0.0",
)
parser_dashboard.add_argument(
"--username",
help="The optional username to require for authentication.",