Make "remote.php" part of thumbnail URLs optional

This commit is contained in:
André Duffeck
2025-07-22 10:43:35 +02:00
parent 4c2b723ab0
commit 484f8bc66b

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?