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 d638fba8c2
commit 72af257cbd
2 changed files with 6 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

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