Entities, config comment

This commit is contained in:
jamesread 2021-08-08 20:42:29 +01:00
parent 1409dcb517
commit 5d125bb39c
2 changed files with 4 additions and 2 deletions

View File

@ -49,7 +49,7 @@ type Config struct {
ExternalRestAddress string
LogLevel string
ActionButtons []ActionButton `mapstructure:"actions"`
Entities []Entity `mapstructure:"omitempty"`
Entities []Entity `mapstructure:"entities"`
CheckForUpdates bool
Usergroups []UserGroup
DefaultPermissions DefaultPermissions

View File

@ -1,7 +1,9 @@
# There is a built-in micro proxy that will host the webui and REST API all on
# one port (this is called the "Single HTTP Frontend") and means you just need
# one open port in the container/firewalls/etc.
ListenAddressSingleHTTPFrontend: 0.0.0.0:1337 # Listen on all addresses available, port 1337
#
# Listen on all addresses available, port 1337
listenAddressSingleHTTPFrontend: 0.0.0.0:1337
# Choose from INFO (default), WARN and DEBUG
logLevel: "INFO"