summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.go b/main.go
index 3700117..b92c0f4 100644
--- a/main.go
+++ b/main.go
@@ -38,6 +38,7 @@ func main() {
http.HandleFunc("/", api.CreateFilesHandler(&logs, &n, logChan))
http.HandleFunc("/logs", api.CreateGetLogs(&logs))
+ http.HandleFunc("/api/v1/logs", api.CreateGetLogs(&logs))
http.HandleFunc("/api/v1/auth/login", api.CreateLoginHandler(&logs, &n, logChan))
http.HandleFunc("/api/v1/king", func(w http.ResponseWriter, r *http.Request) {