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:
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
Block a user