add missing routing for /groupware (currently unprotected for testing)

This commit is contained in:
Pascal Bleser
2025-04-16 16:58:23 +02:00
parent a3f1ee1ab9
commit 53ca9f40f8
2 changed files with 5 additions and 0 deletions

View File

@@ -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)
}

View File

@@ -304,6 +304,10 @@ func DefaultPolicies() []config.Policy {
{
Endpoint: "/collaboration",
Service: "eu.opencloud.web.collaboration",
},
{
Endpoint: "/groupware/",
Service: "eu.opencloud.web.groupware",
Unprotected: true,
},
},