mirror of
https://github.com/owncloud/ocis
synced 2026-04-26 09:45:19 +02:00
properly register webdav methods with chi
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
This commit is contained in:
@@ -151,18 +151,9 @@ func DefaultPolicies() []config.Policy {
|
||||
// TODO or we allow a REPORT on /dav/spaces to search all spaces and /dav/space/{spaceid} to search a specific space
|
||||
// send webdav REPORT requests to search service
|
||||
{
|
||||
Type: config.RegexRoute,
|
||||
Method: "REPORT",
|
||||
Endpoint: "/remote.php/dav/",
|
||||
Service: "com.owncloud.web.webdav",
|
||||
},
|
||||
{
|
||||
Method: "REPORT",
|
||||
Endpoint: "/remote.php/webdav",
|
||||
Service: "com.owncloud.web.webdav",
|
||||
},
|
||||
{
|
||||
Method: "REPORT",
|
||||
Endpoint: "/dav/spaces",
|
||||
Endpoint: "(/remote.php)?/(web)?dav",
|
||||
Service: "com.owncloud.web.webdav",
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user