Skip to content

Commit

Permalink
Add /api/get_debug_logs
Browse files Browse the repository at this point in the history
  • Loading branch information
kercre123 committed Apr 6, 2024
1 parent 930d1ab commit 29e12a8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions chipper/pkg/wirepod/config-ws/webserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,9 @@ func apiHandler(w http.ResponseWriter, r *http.Request) {
case r.URL.Path == "/api/get_logs":
fmt.Fprintf(w, logger.LogList)
return
case r.URL.Path == "/api/get_debug_logs":
fmt.Fprintf(w, logger.LogTrayList)
return
case r.URL.Path == "/api/is_running":
fmt.Fprintf(w, "true")
return
Expand Down

0 comments on commit 29e12a8

Please sign in to comment.