summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
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) {