diff options
Diffstat (limited to 'srv/src/http/tpl.go')
-rw-r--r-- | srv/src/http/tpl.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 += "/" |