From 13dfc06f6397e220f80be9d1ee2bd9ac3eb0ec31 Mon Sep 17 00:00:00 2001 From: David Christofas Date: Wed, 8 Feb 2023 16:49:34 +0100 Subject: [PATCH] add proxy route for the branding endpoint --- services/proxy/pkg/config/defaults/defaultconfig.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/services/proxy/pkg/config/defaults/defaultconfig.go b/services/proxy/pkg/config/defaults/defaultconfig.go index 14bc159e7..d9f69f600 100644 --- a/services/proxy/pkg/config/defaults/defaultconfig.go +++ b/services/proxy/pkg/config/defaults/defaultconfig.go @@ -1,6 +1,7 @@ package defaults import ( + "net/http" "path" "strings" @@ -198,6 +199,11 @@ func DefaultPolicies() []config.Policy { Endpoint: "/api/v0/settings", Service: "com.owncloud.web.settings", }, + { + Method: http.MethodPost, + Endpoint: "/branding/logo", + Service: "com.owncloud.web.web", + }, }, }, }