Make SERVER_HOST optional
This commit is contained in:
@ -70,8 +70,8 @@ class AppConfig(ConfigBase):
|
||||
CONFIG_NODE_SERVER,
|
||||
"host"
|
||||
],
|
||||
default=DEFAULT_SERVER_HOST,
|
||||
secret=True)
|
||||
required=False
|
||||
)
|
||||
|
||||
SERVER_PORT = IntConfigEntry(
|
||||
key_path=[
|
||||
@ -80,7 +80,8 @@ class AppConfig(ConfigBase):
|
||||
CONFIG_NODE_PORT
|
||||
],
|
||||
range=Range(1, 65534),
|
||||
default=DEFAULT_SERVER_PORT)
|
||||
default=DEFAULT_SERVER_PORT
|
||||
)
|
||||
|
||||
SERVER_API_TOKEN = StringConfigEntry(
|
||||
key_path=[
|
||||
@ -146,6 +147,7 @@ class AppConfig(ConfigBase):
|
||||
],
|
||||
required=False
|
||||
)
|
||||
|
||||
MQTT_PORT = IntConfigEntry(
|
||||
key_path=[
|
||||
CONFIG_NODE_ROOT,
|
||||
|
Reference in New Issue
Block a user