diff --git a/agent/main.go b/agent/main.go index b0012605c..245135fee 100644 --- a/agent/main.go +++ b/agent/main.go @@ -86,7 +86,7 @@ func hostApi(socketHarOutputChannel chan<- *tapApi.OutputChannelItem) *gin.Engin app := gin.Default() app.GET("/echo", func(c *gin.Context) { - c.String(http.StatusOK, "Here is Mizu agent") + c.JSON(http.StatusOK, "Here is Mizu agent") }) eventHandlers := api.RoutesEventHandlers{