From 5d125bb39c0e5e5b393e53c9d8cf7e2ae9a77835 Mon Sep 17 00:00:00 2001 From: jamesread Date: Sun, 8 Aug 2021 20:42:29 +0100 Subject: [PATCH] Entities, config comment --- internal/config/config.go | 2 +- var/config.yaml | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/internal/config/config.go b/internal/config/config.go index 9503f17..95cd094 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -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 diff --git a/var/config.yaml b/var/config.yaml index e6490f8..c5d9734 100644 --- a/var/config.yaml +++ b/var/config.yaml @@ -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"