Fix error handling in groupBase.

This commit is contained in:
Juliusz Chroboczek committed 2024-01-17 22:22:47 +01:00
1 parent a612e4d869
commit 6455ae3a4c
1 file changed
+1 -1
+1 -1
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/")