aboutsummaryrefslogtreecommitdiff
path: root/backend/logs.go
diff options
context:
space:
mode:
authorAnhgelus Morhtuuzh <william@herges.fr>2025-10-06 14:19:23 +0200
committerAnhgelus Morhtuuzh <william@herges.fr>2025-10-06 14:19:23 +0200
commit2aedff3d2bbdcad93d6ca0ec883c446c703cafaa (patch)
treefcf05632375779fe909155acefe93555e97e401b /backend/logs.go
parent0ac33061f8275a6808276adfa8ea8b8dcd92d7c9 (diff)
fix(frontend): code multi line does not wrap
Diffstat (limited to 'backend/logs.go')
-rw-r--r--backend/logs.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/backend/logs.go b/backend/logs.go
index db69462..81e6f77 100644
--- a/backend/logs.go
+++ b/backend/logs.go
@@ -108,6 +108,7 @@ func readLogDir(path string, dir []os.DirEntry) error {
}
func HandleLogs(r *chi.Mux) {
+ r.Get("/logs", handleLogList)
r.Route("/logs", func(r chi.Router) {
r.Get("/", handleLogList)
r.Get("/{slug:[a-zA-Z0-9-]+}", handleLog)