summaryrefslogtreecommitdiff
path: root/src/http/http.go
diff options
context:
space:
mode:
authorBrian Picciano <mediocregopher@gmail.com>2024-05-19 22:14:25 +0200
committerBrian Picciano <mediocregopher@gmail.com>2024-05-19 22:14:25 +0200
commit332e983da476974805a3a0d53bfedaebe73a9fcb (patch)
tree1956248d86fc07c0193ffdeea77469655fd69c8a /src/http/http.go
parent0665d0c65974533fbd313f4e0b062b5103057aeb (diff)
Get rid of most of preprocess funcs, only Image leftover for convenience
Diffstat (limited to 'src/http/http.go')
-rw-r--r--src/http/http.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/http.go b/src/http/http.go
index 93cc043..6458416 100644
--- a/src/http/http.go
+++ b/src/http/http.go
@@ -149,7 +149,7 @@ func New(params Params) (API, error) {
auther: NewAuther(params.AuthUsers, params.AuthRatelimit),
}
- a.redirectTpl = mustParseTpl(a.emptyTpl(), "redirect.html")
+ a.redirectTpl = mustParseTpl(template.New(""), "redirect.html")
a.srv = &http.Server{Handler: a.handler()}