aboutsummaryrefslogtreecommitdiff
path: root/backend/logs.go
diff options
context:
space:
mode:
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)