In oneStreamPerDomain mode, allocate the /about to display informations about Ghostream
This commit is contained in:
parent
863fbdfc45
commit
fc96fa4d4e
|
@ -82,8 +82,12 @@ func viewerGetHandler(w http.ResponseWriter, r *http.Request) {
|
||||||
}
|
}
|
||||||
host = realHost
|
host = realHost
|
||||||
}
|
}
|
||||||
|
if path == "about" {
|
||||||
|
path = ""
|
||||||
|
} else {
|
||||||
path = host
|
path = host
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// Render template
|
// Render template
|
||||||
data := struct {
|
data := struct {
|
||||||
|
|
Loading…
Reference in New Issue