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:
parent
a612e4d869
commit
6455ae3a4c
1 changed files with 1 additions and 1 deletions
|
@ -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/")
|
||||
|
|
Loading…
Reference in a new issue