Fix error handling in groupBase.
This commit is contained in:
1 parent
a612e4d869
commit
6455ae3a4c
1 file changed
+1
-1
@@ -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/")
|
||||
|
||||
Reference in new issue
Block a user