diff options
Diffstat (limited to 'src/http/http.go')
-rw-r--r-- | src/http/http.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/http.go b/src/http/http.go index fd0ea16..9bfed59 100644 --- a/src/http/http.go +++ b/src/http/http.go @@ -146,7 +146,7 @@ func New(params Params) (API, error) { auther: NewAuther(params.AuthUsers, params.AuthRatelimit), } - a.redirectTpl = a.mustParseTpl("redirect.html") + a.redirectTpl = mustParseTpl(a.emptyTpl(), "redirect.html") a.srv = &http.Server{Handler: a.handler()} |