1
Fork 0

Fix error handling in groupBase.

This commit is contained in:
Juliusz Chroboczek 2024-01-17 22:22:47 +01:00
parent a612e4d869
commit 6455ae3a4c
1 changed files with 1 additions and 1 deletions

View File

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