From 3d8637838e9ccfcb56899842945e760f337428b0 Mon Sep 17 00:00:00 2001 From: "Gabriel A. Giovanini" Date: Sun, 26 May 2024 22:14:56 +0200 Subject: feat: Add about page --- pkg/handler/status.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg/handler/status.go') diff --git a/pkg/handler/status.go b/pkg/handler/status.go index 1ca7f70..9baac2c 100644 --- a/pkg/handler/status.go +++ b/pkg/handler/status.go @@ -54,7 +54,7 @@ func ConfigFile(configPath string) func(http.ResponseWriter, *http.Request) { } hello := &templates.HelloPage{ - Body: code.String(), + Body: code.Bytes(), } templates.WritePageTemplate(w, hello) -- cgit v1.2.3