From a30626ec194fd6e2994d956a86c722bdf1f562f3 Mon Sep 17 00:00:00 2001 From: Pascal Bleser Date: Wed, 16 Apr 2025 16:58:23 +0200 Subject: [PATCH] add missing routing for /groupware (currently unprotected for testing) --- services/groupware/pkg/service/http/v0/service.go | 1 + services/proxy/pkg/config/defaults/defaultconfig.go | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/services/groupware/pkg/service/http/v0/service.go b/services/groupware/pkg/service/http/v0/service.go index fcdbc26975..2174e2eb52 100644 --- a/services/groupware/pkg/service/http/v0/service.go +++ b/services/groupware/pkg/service/http/v0/service.go @@ -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) } diff --git a/services/proxy/pkg/config/defaults/defaultconfig.go b/services/proxy/pkg/config/defaults/defaultconfig.go index 187e52be6f..c8a44e9841 100644 --- a/services/proxy/pkg/config/defaults/defaultconfig.go +++ b/services/proxy/pkg/config/defaults/defaultconfig.go @@ -291,6 +291,11 @@ func DefaultPolicies() []config.Policy { Unprotected: true, SkipXAccessToken: true, }, + { + Endpoint: "/groupware/", + Service: "eu.opencloud.web.groupware", + Unprotected: true, + }, }, }, }