From 332e983da476974805a3a0d53bfedaebe73a9fcb Mon Sep 17 00:00:00 2001 From: Brian Picciano Date: Sun, 19 May 2024 22:14:25 +0200 Subject: Get rid of most of preprocess funcs, only Image leftover for convenience --- src/http/http.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/http/http.go') 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()} -- cgit v1.2.3