aboutsummaryrefslogtreecommitdiff
path: root/pkg/handler/status.go
diff options
context:
space:
mode:
authorGabriel A. Giovanini <mail@gabrielgio.me>2024-05-26 22:14:56 +0200
committerGabriel A. Giovanini <mail@gabrielgio.me>2024-05-26 22:14:56 +0200
commit3d8637838e9ccfcb56899842945e760f337428b0 (patch)
tree2a2780e84b7ed00a0f56234f663fba92d44dfb53 /pkg/handler/status.go
parentadc207d2e6c39fa31283d83021e76300c0099c37 (diff)
downloadcerrado-3d8637838e9ccfcb56899842945e760f337428b0.tar.gz
cerrado-3d8637838e9ccfcb56899842945e760f337428b0.tar.bz2
cerrado-3d8637838e9ccfcb56899842945e760f337428b0.zip
feat: Add about page
Diffstat (limited to 'pkg/handler/status.go')
-rw-r--r--pkg/handler/status.go2
1 files changed, 1 insertions, 1 deletions
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)