aboutsummaryrefslogtreecommitdiff
path: root/backend/data.go
diff options
context:
space:
mode:
authorAnhgelus Morhtuuzh <william@herges.fr>2025-10-03 10:57:34 +0200
committerAnhgelus Morhtuuzh <william@herges.fr>2025-10-03 10:57:34 +0200
commitcec39db23db603e87b969a5c630b5873f96a8be7 (patch)
tree0f5199d384e749bc0c37dd40ff51409dc45c389b /backend/data.go
parenta2dad61a48af63db2fd00bee3f6ea487720d33bd (diff)
feat(backend): create template for logs display
Diffstat (limited to 'backend/data.go')
-rw-r--r--backend/data.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/data.go b/backend/data.go
index e841669..8922aca 100644
--- a/backend/data.go
+++ b/backend/data.go
@@ -75,7 +75,7 @@ func (d *data) handleGeneric(w http.ResponseWriter, r *http.Request, name string
},
"next": func(i int) int { return i + 1 },
"before": func(i int) int { return i - 1 },
- }).ParseFS(templates, fmt.Sprintf("templates/%s.html", name), "templates/base.html")
+ }).ParseFS(templates, "templates/logs_display.html", fmt.Sprintf("templates/%s.html", name), "templates/base.html")
if err != nil {
panic(err)
}