add tumbnails proxy route for /dav and /webdav

This commit is contained in:
Willy Kloucek
2022-04-22 11:13:10 +02:00
committed by Jörn Friedrich Dreyer
parent d0a00f8a8f
commit 6b259f6637
@@ -106,6 +106,16 @@ func DefaultPolicies() []config.Policy {
Endpoint: "/remote.php/dav/",
Backend: "http://localhost:9115", // TODO use registry?
},
{
Type: config.QueryRoute,
Endpoint: "/dav/?preview=1",
Backend: "http://localhost:9115",
},
{
Type: config.QueryRoute,
Endpoint: "/webdav/?preview=1",
Backend: "http://localhost:9115",
},
{
Endpoint: "/remote.php/",
Service: "ocdav",