1
0
mirror of https://gitlab.crans.org/nounous/ghostream.git synced 2024-12-22 15:02:19 +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,7 +82,11 @@ func viewerGetHandler(w http.ResponseWriter, r *http.Request) {
} }
host = realHost host = realHost
} }
path = host if path == "about" {
path = ""
} else {
path = host
}
} }
// Render template // Render template