Fix AllowedMounts value from potentially being overwritten remotely

This commit is contained in:
Matthew Penner 2020-09-17 21:59:41 -06:00
parent 033e8e7573
commit aa39cefcf1

View File

@ -63,7 +63,7 @@ type Configuration struct {
// AllowedMounts is a list of allowed host-system mount points. // AllowedMounts is a list of allowed host-system mount points.
// This is required to have the "Server Mounts" feature work properly. // This is required to have the "Server Mounts" feature work properly.
AllowedMounts []string `json:"allowed_mounts" yaml:"allowed_mounts"` AllowedMounts []string `json:"-" yaml:"allowed_mounts"`
// AllowedOrigins is a list of allowed request origins. // AllowedOrigins is a list of allowed request origins.
// The Panel URL is automatically allowed, this is only needed for adding // The Panel URL is automatically allowed, this is only needed for adding