From b4ca8853a9085cb0231f2c4de25a1ec07ef150a0 Mon Sep 17 00:00:00 2001 From: Brian Picciano Date: Fri, 20 May 2022 17:04:20 -0600 Subject: Update http config names --- srv/src/http/tpl.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'srv/src/http/tpl.go') diff --git a/srv/src/http/tpl.go b/srv/src/http/tpl.go index 62a4d06..dcd1551 100644 --- a/srv/src/http/tpl.go +++ b/srv/src/http/tpl.go @@ -35,7 +35,7 @@ func (a *api) parseTpl(tplBody string) (*template.Template, error) { // filepath.Join strips trailing slash, but we want to keep it trailingSlash := strings.HasSuffix(path, "/") - path = filepath.Join("/", a.params.PathPrefix, path) + path = filepath.Join("/", path) if trailingSlash && path != "/" { path += "/" -- cgit v1.2.3