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:
@@ -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.",
|
||||
|
Reference in New Issue
Block a user