This commit is contained in:
A.Unger
2021-11-11 13:06:03 +01:00
parent 9b8c3838e8
commit cfc9738e51
2 changed files with 5 additions and 5 deletions

View File

@@ -47,7 +47,7 @@ type Tracing struct {
// Reva defines all available REVA configuration.
type Reva struct {
Address string `address`
Address string `mapstructure:"address"`
}
// TokenManager is the config for using the reva token manager
@@ -72,7 +72,7 @@ type Config struct {
TokenManager TokenManager `mapstructure:"token_manager"`
Service Service `mapstructure:"service"`
AccountBackend string `mapstructure:"account_backend"`
Reva Reva `mapstructure:"reva"`
Reva Reva `mapstructure:"reva"`
StorageUsersDriver string `mapstructure:"storage_users_driver"`
MachineAuthAPIKey string `mapstructure:"machine_auth_api_key"`
IdentityManagement IdentityManagement `mapstructure:"identity_management"`
@@ -121,7 +121,7 @@ func DefaultConfig() *Config {
Namespace: "com.owncloud.web",
},
AccountBackend: "accounts",
Reva: Reva{Address: "127.0.0.1:9142"},
Reva: Reva{Address: "127.0.0.1:9142"},
StorageUsersDriver: "ocis",
MachineAuthAPIKey: "change-me-please",
IdentityManagement: IdentityManagement{

View File

@@ -61,7 +61,7 @@ type Thumbnail struct {
Resolutions []string `mapstructure:"resolutions"`
FileSystemStorage FileSystemStorage `mapstructure:"filesystem_storage"`
WebdavAllowInsecure bool `mapstructure:"webdav_allow_insecure"`
CS3AllowInsecure bool `mapstructure:"cs3_allow_insecure"`
CS3AllowInsecure bool `mapstructure:"cs3_allow_insecure"`
RevaGateway string `mapstructure:"reva_gateway"`
WebdavNamespace string `mapstructure:"webdav_namespace"`
}
@@ -100,7 +100,7 @@ func DefaultConfig() *Config {
WebdavAllowInsecure: true,
RevaGateway: "127.0.0.1:9142",
WebdavNamespace: "/home",
CS3AllowInsecure: false,
CS3AllowInsecure: false,
},
}
}