1
0
mirror of https://gitlab.crans.org/nounous/ghostream.git synced 2024-12-22 19:42:20 +00:00

In oneStreamPerDomain mode, allocate the /about to display informations about Ghostream

This commit is contained in:
Yohann D'ANELLO 2020-10-11 23:09:48 +02:00
parent 863fbdfc45
commit fc96fa4d4e

View File

@ -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 {