add proxy route for the branding endpoint

This commit is contained in:
David Christofas
2023-02-08 16:49:34 +01:00
parent 6e83effb45
commit 13dfc06f63

View File

@@ -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",
},
},
},
}