Merge pull request #3113 from owncloud/ocs-config-like-oc10

ensure the same data on /ocs/v?.php/config like oC10 [full-ci]
This commit is contained in:
Willy Kloucek
2022-03-29 13:52:00 +02:00
committed by GitHub
2 changed files with 9 additions and 3 deletions

View File

@@ -0,0 +1,6 @@
Bugfix: ensure the same data on /ocs/v?.php/config like oC10
We've fixed the returned values on the /ocs/v?.php/config endpoints,
so that they now return the same values as an oC10 would do.
https://github.com/owncloud/ocis/pull/3113

View File

@@ -215,10 +215,10 @@ func frontendConfigFromStruct(c *cli.Context, cfg *config.Config, filesCfg map[s
},
},
"config": map[string]interface{}{
"version": "1.8",
"website": "reva",
"version": "1.7",
"website": "ownCloud",
"host": cfg.Reva.Frontend.PublicURL,
"contact": "admin@localhost",
"contact": "",
"ssl": "false",
},
"default_upload_protocol": cfg.Reva.DefaultUploadProtocol,