summaryrefslogtreecommitdiff
path: root/srv/src/http/tpl.go
diff options
context:
space:
mode:
authorBrian Picciano <mediocregopher@gmail.com>2022-05-20 17:04:20 -0600
committerBrian Picciano <mediocregopher@gmail.com>2022-05-20 17:04:20 -0600
commitb4ca8853a9085cb0231f2c4de25a1ec07ef150a0 (patch)
tree266efcf8611cc47aae235a011b7bb30d5b5499a7 /srv/src/http/tpl.go
parent1ffda21ae38d203e381bedbf7bdbbd69c9031062 (diff)
Update http config names
Diffstat (limited to 'srv/src/http/tpl.go')
-rw-r--r--srv/src/http/tpl.go2
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 += "/"