Revert optional remote.php path

Co-authored-by: André Duffeck <a.duffeck@opencloud.eu>

Signed-off-by: Christian Richter <c.richter@opencloud.eu>
This commit is contained in:
Christian Richter
2025-07-24 13:31:56 +02:00
parent 55f1d9e4d2
commit d3f73b13ff

View File

@@ -185,7 +185,7 @@ func DefaultPolicies() []config.Policy {
},
{
Type: config.QueryRoute,
Endpoint: "(/remote.php)?/?preview=1",
Endpoint: "/remote.php/?preview=1",
Service: "eu.opencloud.web.webdav",
},
// TODO the actual REPORT goes to /dav/files/{username}, which is user specific ... how would this work in a spaces world?