fix environment variables

This commit is contained in:
David Christofas
2022-04-25 15:44:38 +02:00
parent c29f69d26b
commit 89b925f34a
11 changed files with 31 additions and 31 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ type Config struct {
FilesNamespace string `yaml:"files_namespace"`
SharesNamespace string `yaml:"shares_namespace"`
// PublicURL used to redirect /s/{token} URLs to
PublicURL string `yaml:"public_url"`
PublicURL string `yaml:"public_url" env:"OCIS_URL;OCDAV_PUBLIC_URL"`
// Insecure certificates allowed when making requests to the gateway
Insecure bool `yaml:"insecure" env:"OCIS_INSECURE;OCDAV_INSECURE"`