@ -38,6 +38,11 @@ func setupRouter() *gin.Engine {
if err != nil {
panic(err)
}
r.GET("/healthz", func(ctx *gin.Context) {
ctx.JSON(http.StatusOK, gin.H{
"ok": 1,
})
r.GET("/n.json", func(c *gin.Context) {
id, _ := uuid.NewRandom()