From 15c05029129afdc2a3f7e6b2c36e93d297b3de73 Mon Sep 17 00:00:00 2001 From: Elizabeth Hunt Date: Fri, 3 Jan 2025 02:06:49 -0800 Subject: fix ssl --- template/api/template/template.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'template/api') diff --git a/template/api/template/template.go b/template/api/template/template.go index 9190f29..a5db3d6 100644 --- a/template/api/template/template.go +++ b/template/api/template/template.go @@ -43,7 +43,7 @@ func renderTemplate(context *types.RequestContext, templateName string, showBase func TemplateContinuation(path string, showBase bool) types.Continuation { return func(context *types.RequestContext, req *http.Request, resp http.ResponseWriter) types.ContinuationChain { return func(success types.Continuation, failure types.Continuation) types.ContinuationChain { - html, err := renderTemplate(context, path, true) + html, err := renderTemplate(context, path, showBase) if errors.Is(err, os.ErrNotExist) { resp.WriteHeader(404) html, err = renderTemplate(context, "404.html", true) -- cgit v1.2.3-70-g09d2