1
Fork 0
mirror of https://github.com/jech/galene.git synced 2024-12-22 15:25:48 +01:00

Fix error handling in groupBase.

This commit is contained in:
Juliusz Chroboczek 2024-01-17 22:22:47 +01:00
parent a612e4d869
commit 6455ae3a4c

View file

@ -351,7 +351,7 @@ func groupHandler(w http.ResponseWriter, r *http.Request) {
func groupBase(r *http.Request) (string, error) {
conf, err := group.GetConfiguration()
if err != nil {
return "", nil
return "", err
}
if conf.ProxyURL != "" {
return url.JoinPath(conf.ProxyURL, "/group/")