From cc7906c7648ca74878d694ccba889b24b0671ab3 Mon Sep 17 00:00:00 2001 From: Robby Zambito Date: Fri, 8 Aug 2025 13:29:10 -0400 Subject: Add logs to api docs --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main.go') diff --git a/main.go b/main.go index 2ae6e3b..3561876 100644 --- a/main.go +++ b/main.go @@ -40,7 +40,7 @@ func main() { http.HandleFunc("/", api.CreateFilesHandler(&logs, &n, toLogParser)) http.HandleFunc("/logs", api.CreateGetLogs(&logs)) - http.HandleFunc("/api/v1/logs", api.CreateGetLogs(&logs)) + http.HandleFunc("/api/v1/status/logs", api.CreateGetLogs(&logs)) http.HandleFunc("/api/v1/auth/login", api.CreateLoginHandler(&logs, &n, toLogParser)) http.HandleFunc("/api/v1/king", func(w http.ResponseWriter, r *http.Request) { -- cgit