From f30b37e00b5f5da58487152600a34101c5239be9 Mon Sep 17 00:00:00 2001 From: Ganesh Vernekar Date: Thu, 29 Mar 2018 18:02:25 +0530 Subject: [PATCH] Fixed pathPrefix for web pages --- web/web.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/web.go b/web/web.go index 82f343df1..eae7fa94d 100644 --- a/web/web.go +++ b/web/web.go @@ -666,7 +666,7 @@ func tmplFuncs(consolesPath string, opts *Options) template_text.FuncMap { return time.Since(t) / time.Millisecond * time.Millisecond }, "consolesPath": func() string { return consolesPath }, - "pathPrefix": func() string { return opts.ExternalURL.Path }, + "pathPrefix": func() string { return opts.RoutePrefix }, "buildVersion": func() string { return opts.Version.Revision }, "stripLabels": func(lset map[string]string, labels ...string) map[string]string { for _, ln := range labels {