mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-01-09 13:50:18 -06:00
add missing routing for /groupware (currently unprotected for testing)
This commit is contained in:
@@ -83,6 +83,7 @@ func (IndexResponse) Render(w http.ResponseWriter, r *http.Request) error {
|
||||
}
|
||||
|
||||
func (g Groupware) Ping(w http.ResponseWriter, r *http.Request) {
|
||||
g.logger.Info().Msg("groupware pinged")
|
||||
w.WriteHeader(http.StatusNoContent)
|
||||
}
|
||||
|
||||
|
||||
@@ -291,6 +291,11 @@ func DefaultPolicies() []config.Policy {
|
||||
Unprotected: true,
|
||||
SkipXAccessToken: true,
|
||||
},
|
||||
{
|
||||
Endpoint: "/groupware/",
|
||||
Service: "eu.opencloud.web.groupware",
|
||||
Unprotected: true,
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user