remove legacy accounts route from proxy default routes

This commit is contained in:
Willy Kloucek
2022-05-19 07:56:52 +02:00
parent fced29a6be
commit a861f9c126
2 changed files with 8 additions and 10 deletions

View File

@@ -0,0 +1,8 @@
Bugfix: remove legacy accounts proxy routes
We've removed the legacy accounts routes from the proxy default config.
There were no longer used since the switch to IDM as the default user
backend. Also accounts is no longer part of the oCIS binary and therefore
should not be part of the proxy default route config.
https://github.com/owncloud/ocis/pull/3831

View File

@@ -156,16 +156,6 @@ func DefaultPolicies() []config.Policy {
Endpoint: "/graph-explorer",
Backend: "http://localhost:9135",
},
// if we were using the go micro api gateway we could look up the endpoint in the registry dynamically
{
Endpoint: "/api/v0/accounts",
Backend: "http://localhost:9181",
},
// TODO the lookup needs a better mechanism
{
Endpoint: "/accounts.js",
Backend: "http://localhost:9181",
},
{
Endpoint: "/api/v0/settings",
Backend: "http://localhost:9190",