mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-05-01 08:20:02 -05:00
add tumbnails proxy route for /dav and /webdav
This commit is contained in:
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",
|
||||
|
||||
Reference in New Issue
Block a user