Skip to content

Commit

Permalink
add appprovider frontend route
Browse files Browse the repository at this point in the history
  • Loading branch information
wkloucek committed Aug 31, 2021
1 parent 2bb1bc3 commit ed804af
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions deployments/examples/ocis_wopi/config/ocis/proxy-config.json
Expand Up @@ -32,6 +32,10 @@
"endpoint": "/ocs/v[12].php/cloud/(users?|groups)",
"backend": "http://localhost:9110"
},
{
"endpoint": "/app/",
"backend": "http://localhost:9140"
},
{
"endpoint": "/ocs/",
"backend": "http://localhost:9140"
Expand Down
4 changes: 4 additions & 0 deletions proxy/pkg/proxy/proxy.go
Expand Up @@ -295,6 +295,10 @@ func defaultPolicies() []config.Policy {
Endpoint: "/ocs/v[12].php/cloud/(users?|groups)", // we have `user`, `users` and `groups` in ocis-ocs
Backend: "http://localhost:9110",
},
{
Endpoint: "/app/",
Backend: "http://localhost:9140",
},
{
Endpoint: "/ocs/",
Backend: "http://localhost:9140",
Expand Down

0 comments on commit ed804af

Please sign in to comment.