From fc96fa4d4e12a36db58ea602abca4a14d87d1a74 Mon Sep 17 00:00:00 2001 From: Yohann D'ANELLO Date: Sun, 11 Oct 2020 23:09:48 +0200 Subject: [PATCH] In oneStreamPerDomain mode, allocate the /about to display informations about Ghostream --- web/handler.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/web/handler.go b/web/handler.go index d3963d8..197613e 100644 --- a/web/handler.go +++ b/web/handler.go @@ -82,7 +82,11 @@ func viewerGetHandler(w http.ResponseWriter, r *http.Request) { } host = realHost } - path = host + if path == "about" { + path = "" + } else { + path = host + } } // Render template