From 484f8bc66b0540cc805daa6e248db7074238610a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Duffeck?= Date: Tue, 22 Jul 2025 10:43:35 +0200 Subject: [PATCH] Make "remote.php" part of thumbnail URLs optional --- services/proxy/pkg/config/defaults/defaultconfig.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/proxy/pkg/config/defaults/defaultconfig.go b/services/proxy/pkg/config/defaults/defaultconfig.go index f1d42a3f8f..b9fdb29243 100644 --- a/services/proxy/pkg/config/defaults/defaultconfig.go +++ b/services/proxy/pkg/config/defaults/defaultconfig.go @@ -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?