leftover env variables on thumbnails

This commit is contained in:
A.Unger
2021-11-12 13:53:19 +01:00
parent b6066f361f
commit 4db1697f89

View File

@@ -100,9 +100,13 @@ func structMappings(cfg *Config) []shared.EnvBinding {
Destination: &cfg.Thumbnail.RevaGateway,
},
{
EnvVars: []string{"THUMBNAILS_WEBDAVSOURCE_INSECURE"},
EnvVars: []string{"OCIS_INSECURE", "THUMBNAILS_WEBDAVSOURCE_INSECURE"},
Destination: &cfg.Thumbnail.WebdavAllowInsecure,
},
{
EnvVars: []string{"OCIS_INSECURE", "THUMBNAILS_CS3SOURCE_INSECURE"},
Destination: &cfg.Thumbnail.CS3AllowInsecure,
},
{
EnvVars: []string{"STORAGE_WEBDAV_NAMESPACE"},
Destination: &cfg.Thumbnail.WebdavNamespace,