diff options
author | Elizabeth Hunt <elizabeth.hunt@simponic.xyz> | 2025-01-03 02:06:49 -0800 |
---|---|---|
committer | Elizabeth Hunt <elizabeth.hunt@simponic.xyz> | 2025-01-03 02:06:49 -0800 |
commit | 15c05029129afdc2a3f7e6b2c36e93d297b3de73 (patch) | |
tree | 0859d5a197e4943ec3b34a8668451d83c80f9e93 /template | |
parent | 7b7cc300f9ad8be13be21fd18e61d94fd8272208 (diff) | |
download | oldinfra-15c05029129afdc2a3f7e6b2c36e93d297b3de73.tar.gz oldinfra-15c05029129afdc2a3f7e6b2c36e93d297b3de73.zip |
fix ssl
Diffstat (limited to 'template')
-rw-r--r-- | template/api/template/template.go | 2 | ||||
-rw-r--r-- | template/static/css/styles.css | 1 |
2 files changed, 2 insertions, 1 deletions
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) diff --git a/template/static/css/styles.css b/template/static/css/styles.css index 42acdac..2ec823a 100644 --- a/template/static/css/styles.css +++ b/template/static/css/styles.css @@ -1,6 +1,7 @@ @import "/static/css/colors.css"; @import "/static/css/form.css"; @import "/static/css/table.css"; +@import "/static/css/chat.css"; @font-face { font-family: 'GeistMono'; |