mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-04-27 18:58:23 -04:00
add settings and ocs group routes
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
This commit is contained in:
5
changelog/unreleased/settings-and-ocs
Normal file
5
changelog/unreleased/settings-and-ocs
Normal file
@@ -0,0 +1,5 @@
|
||||
Change: add settings and ocs group routes
|
||||
|
||||
Route settings requests and ocs group related requests to new services
|
||||
|
||||
https://github.com/owncloud/ocis-proxy/pull/81
|
||||
@@ -250,13 +250,13 @@ func defaultPolicies() []config.Policy {
|
||||
Backend: "http://localhost:9130",
|
||||
},
|
||||
{
|
||||
Endpoint: "/ocs/",
|
||||
Backend: "http://localhost:9140",
|
||||
Type: config.RegexRoute,
|
||||
Endpoint: "/ocs/v[12].php/cloud/user", // we have `user` and `users` in ocis-ocs
|
||||
Backend: "http://localhost:9110",
|
||||
},
|
||||
{
|
||||
Type: config.RegexRoute,
|
||||
Endpoint: "/ocs/v[12].php/cloud/user",// we have `user` and `users` in ocis-ocs
|
||||
Backend: "http://localhost:9110",
|
||||
Endpoint: "/ocs/",
|
||||
Backend: "http://localhost:9140",
|
||||
},
|
||||
{
|
||||
Type: config.QueryRoute,
|
||||
@@ -297,6 +297,14 @@ func defaultPolicies() []config.Policy {
|
||||
Endpoint: "/accounts.js",
|
||||
Backend: "http://localhost:9181",
|
||||
},
|
||||
{
|
||||
Endpoint: "/api/v0/settings",
|
||||
Backend: "http://localhost:9190",
|
||||
},
|
||||
{
|
||||
Endpoint: "/settings.js",
|
||||
Backend: "http://localhost:9190",
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user