change ocmproviders defaultconfig path

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
This commit is contained in:
Jörn Friedrich Dreyer
2024-08-12 12:27:05 +02:00
parent 5ef865a402
commit b7fdc59f21
2 changed files with 6 additions and 1 deletions

View File

@@ -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

View File

@@ -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{