mirror of https://github.com/jech/galene.git
parent
5d220f59ee
commit
10c57c7596
|
@ -342,7 +342,12 @@ func groupBase(r *http.Request) (string, error) {
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return "", err
|
return "", err
|
||||||
}
|
}
|
||||||
return u.JoinPath("/group/").String(), nil
|
base := url.URL{
|
||||||
|
Scheme: u.Scheme,
|
||||||
|
Host: u.Host,
|
||||||
|
Path: path.Join(u.Path, "/group/"),
|
||||||
|
}
|
||||||
|
return base.String(), nil
|
||||||
}
|
}
|
||||||
scheme := "https"
|
scheme := "https"
|
||||||
if r.TLS == nil {
|
if r.TLS == nil {
|
||||||
|
|
Loading…
Reference in New Issue