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:
Jörn Friedrich Dreyer
2024-08-12 14:10:10 +02:00
committed by GitHub
2 changed files with 6 additions and 1 deletions
@@ -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{