Merge pull request #9778 from owncloud/change-ocmproviders-defaultpath
save ocm providers config file to config path (not user space)
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
Bugfix: change ocmproviders config defaultpath
|
||||
|
||||
We moved the default location of the `ocmproviders.json` config file out of the data directory of the ocm service to the ocis config directory.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/9778
|
||||
@@ -105,7 +105,7 @@ func DefaultConfig() *config.Config {
|
||||
OCMProviderAuthorizerDriver: "json",
|
||||
OCMProviderAuthorizerDrivers: config.OCMProviderAuthorizerDrivers{
|
||||
JSON: config.OCMProviderAuthorizerJSONDriver{
|
||||
Providers: filepath.Join(defaults.BaseDataPath(), "storage", "ocm", "ocmproviders.json"),
|
||||
Providers: filepath.Join(defaults.BaseConfigPath(), "ocmproviders.json"),
|
||||
},
|
||||
},
|
||||
OCMShareProvider: config.OCMShareProvider{
|
||||
|
||||
Reference in New Issue
Block a user