From 43795a4be39f20a731dba58608b08a15d7de4678 Mon Sep 17 00:00:00 2001 From: Matthew Penner Date: Fri, 31 Jul 2020 16:21:27 -0600 Subject: [PATCH] Document config options --- config/config.go | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/config/config.go b/config/config.go index 0aeb3a8..ca98967 100644 --- a/config/config.go +++ b/config/config.go @@ -81,10 +81,13 @@ type Configuration struct { // to collect data and send events. PanelLocation string `json:"remote" yaml:"remote"` - // AllowedMounts . + // AllowedMounts is a list of allowed host-system mount points. + // This is required to have the "Server Mounts" feature work properly. AllowedMounts []string `json:"allowed_mounts" yaml:"allowed_mounts"` - // AllowedOrigins . + // AllowedOrigins is a list of allowed request origins. + // The Panel URL is automatically allowed, this is only needed for adding + // additional origins. AllowedOrigins []string `json:"allowed_origins" yaml:"allowed_origins"` }