Fixed pathPrefix for web pages

pull/4025/head
Ganesh Vernekar 8 years ago
parent bc6058c812
commit f30b37e00b
  1. 2
      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 {

Loading…
Cancel
Save