remove legacy accounts route from proxy default routes
This commit is contained in:
@@ -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
|
||||||
@@ -156,16 +156,6 @@ func DefaultPolicies() []config.Policy {
|
|||||||
Endpoint: "/graph-explorer",
|
Endpoint: "/graph-explorer",
|
||||||
Backend: "http://localhost:9135",
|
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",
|
Endpoint: "/api/v0/settings",
|
||||||
Backend: "http://localhost:9190",
|
Backend: "http://localhost:9190",
|
||||||
|
|||||||
Reference in New Issue
Block a user