Merge pull request #96 from owncloud/ocis-hello-endpoints

Add ocis-hello endpoints to builtin and example config
This commit is contained in:
Benedikt Kulmann
2020-09-02 13:46:26 +02:00
committed by GitHub
3 changed files with 21 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
Enhancement: Add hello API and app endpoints to example config and builtin config
We added the ocis-hello API and app endpoints to both the example config and the builtin config.
https://github.com/owncloud/ocis-proxy/pull/96

View File

@@ -79,6 +79,14 @@
{
"endpoint": "/settings.js",
"backend": "http://localhost:9190"
},
{
"endpoint": "/api/v0/greet",
"backend": "http://localhost:9105"
},
{
"endpoint": "/hello.js",
"backend": "http://localhost:9105"
}
]
},

View File

@@ -305,6 +305,14 @@ func defaultPolicies() []config.Policy {
Endpoint: "/settings.js",
Backend: "http://localhost:9190",
},
{
Endpoint: "/api/v0/greet",
Backend: "http://localhost:9105",
},
{
Endpoint: "/hello.js",
Backend: "http://localhost:9105",
},
},
},
{