make insecure options configurable

This commit is contained in:
David Christofas
2021-11-10 14:19:27 +01:00
parent 424a2e3f09
commit 0ec64fe99f
10 changed files with 76 additions and 9 deletions
+1 -1
View File
@@ -128,7 +128,7 @@ func storageHomeConfigFromStruct(c *cli.Context, cfg *config.Config) map[string]
"driver": cfg.Reva.StorageHome.Driver,
"drivers": storagedrivers.HomeDrivers(cfg),
"timeout": 86400,
"insecure": true,
"insecure": cfg.Reva.StorageHome.DataProvider.Insecure,
"disable_tus": false,
},
},