Skip to content
This repository has been archived by the owner on Dec 22, 2024. It is now read-only.

Commit

Permalink
Fix missing host argument (#80)
Browse files Browse the repository at this point in the history
  • Loading branch information
goldyfruit authored Jan 2, 2024
1 parent 0a412eb commit 26cba2a
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion hivemind_core/scripts.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,12 @@ def list_clients():
@click.option(
"--ovos_bus_port", help="Open Voice OS bus port number", type=int, default=8181
)
@click.option(
"--host",
help="HiveMind host",
type=str,
default="0.0.0.0",
)
@click.option("--port", help="HiveMind port number", type=int, default=5678)
@click.option("--ssl", help="use wss://", type=bool, default=False)
@click.option(
Expand All @@ -183,6 +189,7 @@ def list_clients():
def listen(
ovos_bus_address: str,
ovos_bus_port: int,
host: str,
port: int,
ssl: bool,
cert_dir: str,
Expand All @@ -196,7 +203,7 @@ def listen(
}

websocket_config = {
"host": "0.0.0.0",
"host": host,
"port": port,
"ssl": ssl,
"cert_dir": cert_dir,
Expand Down

0 comments on commit 26cba2a

Please sign in to comment.