mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-05-05 14:43:30 -04:00
change ocmproviders defaultconfig path
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
This commit is contained in:
5
changelog/unreleased/change-ocmproviders-defaultpath.md
Normal file
5
changelog/unreleased/change-ocmproviders-defaultpath.md
Normal 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
|
||||
@@ -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