mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-11-08 21:43:00 -05:00
add missing routing for /groupware (currently unprotected for testing)
This commit is contained in:
1 parent
9fdd2121b2
commit
a5e4d840f8
2 files changed
+6
No files matched your search
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
@@ -313,6 +313,11 @@ func DefaultPolicies() []config.Policy {
|
||||
Endpoint: "/collaboration",
|
||||
Service: "eu.opencloud.web.collaboration",
|
||||
},
|
||||
{
|
||||
Endpoint: "/groupware/",
|
||||
Service: "eu.opencloud.web.groupware",
|
||||
Unprotected: true,
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user