Skip to content
This repository has been archived by the owner on Jan 27, 2021. It is now read-only.

Commit

Permalink
Add /data endpoint to builtin default config
Browse files Browse the repository at this point in the history
kulmann committed Jun 25, 2020

Verified

This commit was signed with the committer’s verified signature.
timryanb Tim Brooks
1 parent 9a9fd8c commit 3873079
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions pkg/proxy/proxy.go
Original file line number Diff line number Diff line change
@@ -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,
},
},
},
}

0 comments on commit 3873079

Please sign in to comment.