Add /data endpoint to builtin default config

This commit is contained in:
Benedikt Kulmann
2020-06-25 09:58:45 +02:00
parent 9a9fd8cc7f
commit 3873079c11

View File

@@ -261,6 +261,10 @@ func defaultPolicies() []config.Policy {
Endpoint: "/index.php/",
Backend: "http://localhost:9140",
},
{
Endpoint: "/data",
Backend: "http://localhost:9140",
},
},
},
{
@@ -312,6 +316,11 @@ func defaultPolicies() []config.Policy {
Backend: "https://demo.owncloud.com",
ApacheVHost: true,
},
{
Endpoint: "/data",
Backend: "https://demo.owncloud.com",
ApacheVHost: true,
},
},
},
}