mirror of
https://github.com/owncloud/ocis
synced 2026-04-26 01:35:25 +02:00
add missing unprotected flag and fix proxy test
This commit is contained in:
committed by
Ralf Haferkamp
parent
69ba80562e
commit
90574268d9
@@ -99,6 +99,12 @@ func DefaultPolicies() []config.Policy {
|
||||
Endpoint: "/ocs/v[12].php/cloud/user/signing-key", // only `user/signing-key` is left in ocis-ocs
|
||||
Backend: "http://localhost:9110",
|
||||
},
|
||||
{
|
||||
Type: config.RegexRoute,
|
||||
Endpoint: "/ocs/v[12].php/config",
|
||||
Backend: "http://localhost:9140",
|
||||
Unprotected: true,
|
||||
},
|
||||
{
|
||||
Endpoint: "/ocs/",
|
||||
Backend: "http://localhost:9140",
|
||||
@@ -145,12 +151,14 @@ func DefaultPolicies() []config.Policy {
|
||||
Service: "com.owncloud.web.ocdav",
|
||||
},
|
||||
{
|
||||
Endpoint: "/status",
|
||||
Service: "com.owncloud.web.ocdav",
|
||||
Endpoint: "/status",
|
||||
Service: "com.owncloud.web.ocdav",
|
||||
Unprotected: true,
|
||||
},
|
||||
{
|
||||
Endpoint: "/status.php",
|
||||
Service: "com.owncloud.web.ocdav",
|
||||
Endpoint: "/status.php",
|
||||
Service: "com.owncloud.web.ocdav",
|
||||
Unprotected: true,
|
||||
},
|
||||
{
|
||||
Endpoint: "/index.php/",
|
||||
@@ -161,8 +169,9 @@ func DefaultPolicies() []config.Policy {
|
||||
Service: "com.owncloud.web.ocdav",
|
||||
},
|
||||
{
|
||||
Endpoint: "/data",
|
||||
Backend: "http://localhost:9140",
|
||||
Endpoint: "/data",
|
||||
Backend: "http://localhost:9140",
|
||||
Unprotected: true,
|
||||
},
|
||||
{
|
||||
Endpoint: "/app/", // /app or /apps? ocdav only handles /apps
|
||||
|
||||
Reference in New Issue
Block a user