diff --git a/web/consoles.go b/web/consoles.go index 4e9c71a4ba..bbada69786 100644 --- a/web/consoles.go +++ b/web/consoles.go @@ -61,9 +61,11 @@ func (h *ConsolesHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) { data := struct { RawParams url.Values Params map[string]string + Path string }{ RawParams: rawParams, Params: params, + Path: r.URL.Path, } template := templates.NewTemplateExpander(string(text), "__console_"+r.URL.Path, data, clientmodel.Now(), h.Storage)