From 29e3fbd02fd0eb65de2a87ad1215a80b9eed3741 Mon Sep 17 00:00:00 2001 From: Willy Kloucek Date: Thu, 12 Aug 2021 17:27:36 +0200 Subject: [PATCH] add appprovider frontend route --- deployments/examples/ocis_wopi/config/ocis/proxy-config.json | 4 ++++ proxy/pkg/proxy/proxy.go | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/deployments/examples/ocis_wopi/config/ocis/proxy-config.json b/deployments/examples/ocis_wopi/config/ocis/proxy-config.json index bccf19699..59b0fa28b 100644 --- a/deployments/examples/ocis_wopi/config/ocis/proxy-config.json +++ b/deployments/examples/ocis_wopi/config/ocis/proxy-config.json @@ -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" diff --git a/proxy/pkg/proxy/proxy.go b/proxy/pkg/proxy/proxy.go index b066e9631..0bd61b761 100644 --- a/proxy/pkg/proxy/proxy.go +++ b/proxy/pkg/proxy/proxy.go @@ -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",